Expose the docker socket of master that we would need to launch a new resin-supervisor container.

This commit is contained in:
Page 2014-04-27 19:47:34 +01:00 committed by Pablo Carranza Vélez
parent e336eaad6e
commit 7e25bfe91a

View File

@ -75,7 +75,10 @@ exports.start = start = (app) ->
console.log('Starting container:', app.imageId)
container.startAsync(
Privileged: true
Binds: ['/dev:/dev']
Binds: [
'/dev:/dev'
'/var/run/docker.sock:/run/docker.sock'
]
)
.tap ->
console.log('Started container:', app.imageId)