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