mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 05:37:53 +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
|
||||
|
||||
* 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'
|
||||
'/run/dbus:/run/dbus'
|
||||
'/var/run/docker.sock:/run/docker.sock'
|
||||
'/etc/resolv.conf:/etc/resolv.conf:ro'
|
||||
]
|
||||
)
|
||||
.catch (err) ->
|
||||
|
@ -37,4 +37,5 @@ config.supervisorContainer =
|
||||
'/resin-data/resin-supervisor:/data'
|
||||
'/proc/net/fib_trie:/mnt/fib_trie'
|
||||
'/var/log/supervisor-log:/var/log'
|
||||
'/etc/resolv.conf:/etc/resolv.conf:ro'
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user