mirror of https://github.com/docker/docs.git
Merge pull request #13732 from mavenugo/netdisabled
Using container NetworkDisabled to fix #13725
This commit is contained in:
commit
57bba29f79
|
@ -183,7 +183,7 @@ func getDevicesFromPath(deviceMapping runconfig.DeviceMapping) (devs []*configs.
|
|||
|
||||
func populateCommand(c *Container, env []string) error {
|
||||
var en *execdriver.Network
|
||||
if !c.daemon.config.DisableNetwork {
|
||||
if !c.Config.NetworkDisabled {
|
||||
en = &execdriver.Network{
|
||||
NamespacePath: c.NetworkSettings.SandboxKey,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue