mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-30 02:28:53 +00:00
Expose the whole /dev directory in the container
This commit is contained in:
parent
31a9632fe3
commit
87534cb15e
@ -66,12 +66,12 @@ exports.start = start = (app) ->
|
||||
Image: app
|
||||
Cmd: ['/bin/bash', '-c', '/start web']
|
||||
Volumes:
|
||||
'/dev/snd': {}
|
||||
'/dev': {}
|
||||
)
|
||||
).then((container) ->
|
||||
container.startAsync(
|
||||
Privileged: true
|
||||
Binds: ['/dev/snd:/dev/snd']
|
||||
Binds: ['/dev:/dev']
|
||||
)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user