mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-06-02 07:40:48 +00:00
Add /etc/resolv.conf bind mounts
This commit is contained in:
parent
c03658528c
commit
cb24f338af
@ -1,3 +1,5 @@
|
|||||||
|
|
||||||
|
* Bind mount /etc/resolv.conf as ro for application containers and supervisor [Praneeth]
|
||||||
# v0.0.12
|
# v0.0.12
|
||||||
|
|
||||||
* Stopped displaying an error message when trying to start a container that is already started.
|
* Stopped displaying an error message when trying to start a container that is already started.
|
||||||
|
@ -208,6 +208,7 @@ exports.start = start = (app) ->
|
|||||||
'/lib/modules:/lib/modules'
|
'/lib/modules:/lib/modules'
|
||||||
'/run/dbus:/run/dbus'
|
'/run/dbus:/run/dbus'
|
||||||
'/var/run/docker.sock:/run/docker.sock'
|
'/var/run/docker.sock:/run/docker.sock'
|
||||||
|
'/etc/resolv.conf:/etc/resolv.conf:ro'
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
.catch (err) ->
|
.catch (err) ->
|
||||||
|
@ -37,4 +37,5 @@ config.supervisorContainer =
|
|||||||
'/resin-data/resin-supervisor:/data'
|
'/resin-data/resin-supervisor:/data'
|
||||||
'/proc/net/fib_trie:/mnt/fib_trie'
|
'/proc/net/fib_trie:/mnt/fib_trie'
|
||||||
'/var/log/supervisor-log:/var/log'
|
'/var/log/supervisor-log:/var/log'
|
||||||
|
'/etc/resolv.conf:/etc/resolv.conf:ro'
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user