Bind mount /dev/snd so that containers can play sound

This commit is contained in:
Petros Aggelatos 2014-01-09 21:49:24 +00:00 committed by Pablo Carranza Vélez
parent c0bfbc582d
commit 0e360b56ac

View File

@ -67,7 +67,10 @@ exports.start = start = (app) ->
Cmd: ['/bin/bash', '-c', '/start web']
)
).then((container) ->
container.startAsync(Privileged: true)
container.startAsync(
Privileged: true
Binds: ['/dev/snd:/dev/snd']
)
)
exports.restart = restart = (app) ->