mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-09 12:21:17 +00:00
Remove /dev mount, privileged flag does it by default.
This commit is contained in:
parent
a39024709f
commit
4cc3092b73
@ -117,7 +117,6 @@ exports.start = start = (app) ->
|
||||
Cmd: ['/bin/bash', '-c', '/start']
|
||||
Tty: true
|
||||
Volumes:
|
||||
'/dev': {}
|
||||
'/lib/modules': {}
|
||||
Env: _.map env, (v, k) -> k + '=' + v
|
||||
ExposedPorts: ports
|
||||
@ -132,7 +131,6 @@ exports.start = start = (app) ->
|
||||
Privileged: true
|
||||
PortBindings: ports
|
||||
Binds: [
|
||||
'/dev:/dev'
|
||||
'/lib/modules:/lib/modules'
|
||||
'/var/run/docker.sock:/run/docker.sock'
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user