Expose the whole /dev directory in the container

This commit is contained in:
Petros Aggelatos 2014-02-07 20:49:35 +02:00 committed by Pablo Carranza Vélez
parent 31a9632fe3
commit 87534cb15e

View File

@ -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']
)
)