mirror of
https://github.com/containers/podman.git
synced 2026-10-25 03:09:29 -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:
2 files changed
+2
-2
No files matched your search
@@ -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