Fix network disabled for container
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
parent
77936ba1a1
commit
66782730b8
1 changed files with 1 additions and 1 deletions
|
@ -726,7 +726,7 @@ func (container *Container) Start() (err error) {
|
|||
}
|
||||
|
||||
var en *execdriver.Network
|
||||
if !container.runtime.networkManager.disabled {
|
||||
if !container.Config.NetworkDisabled {
|
||||
network := container.NetworkSettings
|
||||
en = &execdriver.Network{
|
||||
Gateway: network.Gateway,
|
||||
|
|
Loading…
Reference in a new issue