mirror of
https://github.com/containers/podman.git
synced 2025-05-17 15:18:43 +08:00
docs: --network remove missing leading sentence
This senetence does not add any value and instead confuses users as it suggest that the name is somhow special and related to bridge networks which is not the case. Using either the name or id is fine as described in the sentence before. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -17,7 +17,7 @@ Valid _mode_ values are:
|
||||
|
||||
For example, to set a static ipv4 address and a static mac address, use `--network bridge:ip=10.88.0.10,mac=44:33:22:11:00:99`.
|
||||
|
||||
- _\<network name or ID\>_**[:OPTIONS,...]**: Connect to a user-defined network; this is the network name or ID from a network created by **[podman network create](podman-network-create.1.md)**. Using the network name implies the bridge network mode. It is possible to specify the same options described under the bridge mode above. Use the **--network** option multiple times to specify additional networks. \
|
||||
- _\<network name or ID\>_**[:OPTIONS,...]**: Connect to a user-defined network; this is the network name or ID from a network created by **[podman network create](podman-network-create.1.md)**. It is possible to specify the same options described under the bridge mode above. Use the **--network** option multiple times to specify additional networks. \
|
||||
For backwards compatibility it is also possible to specify comma-separated networks on the first **--network** argument, however this prevents you from using the options described under the bridge section above.
|
||||
|
||||
- **none**: Create a network namespace for the container but do not configure network interfaces for it, thus the container has no network connectivity.
|
||||
|
Reference in New Issue
Block a user