mirror of
https://github.com/containers/podman.git
synced 2025-06-27 21:50:18 +08:00
spec: allow container:NAME network mode
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Closes: #1145 Approved by: rhatdan
This commit is contained in:

committed by
Atomic Bot

parent
6715bffaf6
commit
6f65490e27
@ -345,6 +345,7 @@ func addNetNS(config *CreateConfig, g *generate.Generator) error {
|
|||||||
return nil
|
return nil
|
||||||
} else if netMode.IsContainer() {
|
} else if netMode.IsContainer() {
|
||||||
logrus.Debug("Using container netmode")
|
logrus.Debug("Using container netmode")
|
||||||
|
return nil
|
||||||
} else if netMode.IsUserDefined() {
|
} else if netMode.IsUserDefined() {
|
||||||
logrus.Debug("Using user defined netmode")
|
logrus.Debug("Using user defined netmode")
|
||||||
return nil
|
return nil
|
||||||
|
Reference in New Issue
Block a user