Use host networking for user containers

This commit is contained in:
Petros Angelatos 2014-09-26 11:34:14 +01:00 committed by Pablo Carranza Vélez
parent ff12b4b736
commit d054ca7023

View File

@ -144,6 +144,7 @@ exports.start = start = (app) ->
ports[port + '/tcp'] = [ HostPort: port ] ports[port + '/tcp'] = [ HostPort: port ]
container.startAsync( container.startAsync(
Privileged: true Privileged: true
NetworkMode: "host"
PortBindings: ports PortBindings: ports
Binds: [ Binds: [
'/resin-data/' + app.appId + ':/data' '/resin-data/' + app.appId + ':/data'