mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-28 19:27:58 +00:00
Merge pull request #1621 from QiWang19/issue1615
Document --net as an alias of --network in podman run & create
This commit is contained in:
commit
92b68e802c
2 changed files with 2 additions and 2 deletions
|
|
@ -416,7 +416,7 @@ to the container with **--name** then the daemon will also 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**="*bridge*"
|
||||
|
||||
Set the Network mode for the container
|
||||
'bridge': create a network stack on the default bridge
|
||||
|
|
|
|||
|
|
@ -401,7 +401,7 @@ to the container with **--name** then the daemon will also 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**="*bridge*"
|
||||
|
||||
Set the Network mode for the container:
|
||||
- `bridge`: create a network stack on the default bridge
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue