mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 22:23:13 +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
|
Image: app
|
||||||
Cmd: ['/bin/bash', '-c', '/start web']
|
Cmd: ['/bin/bash', '-c', '/start web']
|
||||||
Volumes:
|
Volumes:
|
||||||
'/dev/snd': {}
|
'/dev': {}
|
||||||
)
|
)
|
||||||
).then((container) ->
|
).then((container) ->
|
||||||
container.startAsync(
|
container.startAsync(
|
||||||
Privileged: true
|
Privileged: true
|
||||||
Binds: ['/dev/snd:/dev/snd']
|
Binds: ['/dev:/dev']
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user