Bug fix. Needed to declade a volume to use bind mounts

This commit is contained in:
Petros Aggelatos 2014-01-18 00:41:09 +00:00 committed by Pablo Carranza Vélez
parent ace3e45371
commit 31a9632fe3

View File

@ -65,6 +65,8 @@ exports.start = start = (app) ->
docker.createContainerAsync( docker.createContainerAsync(
Image: app Image: app
Cmd: ['/bin/bash', '-c', '/start web'] Cmd: ['/bin/bash', '-c', '/start web']
Volumes:
'/dev/snd': {}
) )
).then((container) -> ).then((container) ->
container.startAsync( container.startAsync(