Fix network disabled for container

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
Michael Crosby 2014-01-10 17:41:12 -08:00
parent 77936ba1a1
commit 66782730b8

View file

@ -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,