Document --net as an alias of --network in podman run & create

Signed-off-by: Qi Wang <qiwan@redhat.com>
This commit is contained in:
Qi Wang 2018-10-10 12:50:41 -04:00
parent 23c9816ba9
commit dd02559473
2 changed files with 2 additions and 2 deletions

View File

@ -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. string name. The name is useful any place you need to identify a container.
This works for both background and foreground containers. This works for both background and foreground containers.
**--network**="*bridge*" **--net**, **--network**="*bridge*"
Set the Network mode for the container Set the Network mode for the container
'bridge': create a network stack on the default bridge 'bridge': create a network stack on the default bridge

View File

@ -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. string name. The name is useful any place you need to identify a container.
This works for both background and foreground containers. This works for both background and foreground containers.
**--network**="*bridge*" **--net**, **--network**="*bridge*"
Set the Network mode for the container: Set the Network mode for the container:
- `bridge`: create a network stack on the default bridge - `bridge`: create a network stack on the default bridge