Update after namespace refactor
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Upstream-commit: 01fec73ba4cff45ac08c0330ea0d67aff70ebf8e Component: engine
This commit is contained in:
@ -54,7 +54,7 @@ func (d *driver) createContainer(c *execdriver.Command) (*libcontainer.Container
|
||||
|
||||
func (d *driver) createNetwork(container *libcontainer.Container, c *execdriver.Command) error {
|
||||
if c.Network.HostNetworking {
|
||||
container.Namespaces.Get("NEWNET").Enabled = false
|
||||
container.Namespaces["NEWNET"] = false
|
||||
return nil
|
||||
}
|
||||
container.Networks = []*libcontainer.Network{
|
||||
|
||||
Reference in New Issue
Block a user