@@ -598,24 +598,20 @@ func parse(flags *pflag.FlagSet, copts *containerOptions, serverOS string) (*con
598598 ExposedPorts : ports ,
599599 User : copts .user ,
600600 Tty : copts .tty ,
601- // TODO: deprecated, it comes from -n, --networking
602- // it's still needed internally to set the network to disabled
603- // if e.g. bridge is none in daemon opts, and in inspect
604- NetworkDisabled : false ,
605- OpenStdin : copts .stdin ,
606- AttachStdin : attachStdin ,
607- AttachStdout : attachStdout ,
608- AttachStderr : attachStderr ,
609- Env : envVariables ,
610- Cmd : runCmd ,
611- Image : copts .Image ,
612- Volumes : volumes ,
613- MacAddress : copts .macAddress ,
614- Entrypoint : entrypoint ,
615- WorkingDir : copts .workingDir ,
616- Labels : opts .ConvertKVStringsToMap (labels ),
617- StopSignal : copts .stopSignal ,
618- Healthcheck : healthConfig ,
601+ OpenStdin : copts .stdin ,
602+ AttachStdin : attachStdin ,
603+ AttachStdout : attachStdout ,
604+ AttachStderr : attachStderr ,
605+ Env : envVariables ,
606+ Cmd : runCmd ,
607+ Image : copts .Image ,
608+ Volumes : volumes ,
609+ MacAddress : copts .macAddress ,
610+ Entrypoint : entrypoint ,
611+ WorkingDir : copts .workingDir ,
612+ Labels : opts .ConvertKVStringsToMap (labels ),
613+ StopSignal : copts .stopSignal ,
614+ Healthcheck : healthConfig ,
619615 }
620616 if flags .Changed ("stop-timeout" ) {
621617 config .StopTimeout = & copts .stopTimeout
0 commit comments