Expose host dbus to containers. This enables control of host connman

This commit is contained in:
Petros Angelatos 2014-11-21 14:29:34 +00:00 committed by Pablo Carranza Vélez
parent 433f0920c8
commit 7ffb65d3fa

View File

@ -116,6 +116,7 @@ exports.start = start = (app) ->
Volumes:
'/data': {}
'/lib/modules': {}
'/run/dbus': {}
Env: _.map env, (v, k) -> k + '=' + v
ExposedPorts: ports
)
@ -140,6 +141,7 @@ exports.start = start = (app) ->
Binds: [
'/resin-data/' + app.appId + ':/data'
'/lib/modules:/lib/modules'
'/run/dbus:/run/dbus'
'/var/run/docker.sock:/run/docker.sock'
]
)