mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 14:13:08 +00:00
Use host networking for user containers
This commit is contained in:
parent
ff12b4b736
commit
d054ca7023
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user