diff --git a/components/engine/daemon/container_windows.go b/components/engine/daemon/container_windows.go index 6a8fa25587..ebba2e72f6 100644 --- a/components/engine/daemon/container_windows.go +++ b/components/engine/daemon/container_windows.go @@ -77,9 +77,8 @@ func populateCommand(c *Container, env []string) error { case "none": case "default", "": // empty string to support existing containers if !c.Config.NetworkDisabled { - network := c.NetworkSettings en.Interface = &execdriver.NetworkInterface{ - MacAddress: network.MacAddress, + MacAddress: c.Config.MacAddress, Bridge: c.daemon.config.Bridge.VirtualSwitchName, } }