mirror of
https://github.com/containers/podman.git
synced 2026-03-19 07:08:38 -04:00
Merge pull request #1621 from QiWang19/issue1615
Document --net as an alias of --network in podman run & create
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user