mirror of
https://github.com/containers/podman
synced 2024-10-19 08:44:11 +00:00
Explain the relation between --pod and --network
Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
This commit is contained in:
parent
3502860e1c
commit
31ceaf7bd4
|
@ -574,9 +574,9 @@ to the container with **--name** then it will generate a random
|
|||
string name. The name is useful any place you need to identify a container.
|
||||
This works for both background and foreground containers.
|
||||
|
||||
#### **--network**=*bridge*, **--net**
|
||||
#### **--network**=*mode*, **--net**
|
||||
|
||||
Set the network mode for the container. Invalid if using **--dns**, **--dns-opt**, or **--dns-search** with **--network** that is set to **none** or **container:**_id_.
|
||||
Set the network mode for the container. Invalid if using **--dns**, **--dns-opt**, or **--dns-search** with **--network** that is set to **none** or **container:**_id_. If used together with **--pod**, the container will not join the pods network namespace.
|
||||
|
||||
Valid _mode_ values are:
|
||||
|
||||
|
|
|
@ -602,7 +602,7 @@ This works for both background and foreground containers.
|
|||
|
||||
#### **--network**=*mode*, **--net**
|
||||
|
||||
Set the network mode for the container. Invalid if using **--dns**, **--dns-opt**, or **--dns-search** with **--network** that is set to **none** or **container:**_id_.
|
||||
Set the network mode for the container. Invalid if using **--dns**, **--dns-opt**, or **--dns-search** with **--network** that is set to **none** or **container:**_id_. If used together with **--pod**, the container will not join the pods network namespace.
|
||||
|
||||
Valid _mode_ values are:
|
||||
|
||||
|
|
Loading…
Reference in a new issue