diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-11-12 22:30:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-12 22:30:19 +0100 |
commit | 2e474df2e115e8c9f0c80c3276820f9ca0a75608 (patch) | |
tree | 61443b0b181c192ddd696314bc533f67317257ed /docs/source/markdown/podman-run.1.md | |
parent | 2e9c94235bd06723a9cec391078c49705f1d5187 (diff) | |
parent | f5a2e578ebdcc38468fc777018099a6cc732c0f0 (diff) | |
download | podman-2e474df2e115e8c9f0c80c3276820f9ca0a75608.tar.gz podman-2e474df2e115e8c9f0c80c3276820f9ca0a75608.tar.bz2 podman-2e474df2e115e8c9f0c80c3276820f9ca0a75608.zip |
Merge pull request #8318 from Luap99/doc-consistent-flag-order
[CI:DOCS] Maintain consistent order of short and long flag names in docs
Diffstat (limited to 'docs/source/markdown/podman-run.1.md')
-rw-r--r-- | docs/source/markdown/podman-run.1.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/source/markdown/podman-run.1.md b/docs/source/markdown/podman-run.1.md index f67b7c652..db9c98073 100644 --- a/docs/source/markdown/podman-run.1.md +++ b/docs/source/markdown/podman-run.1.md @@ -380,7 +380,7 @@ value can be expressed in a time format such as **1m22s**. The default value is Print usage statement -#### **-h**, **--hostname**=*name* +#### **--hostname**=*name*, **-h** Container host name @@ -600,7 +600,7 @@ to the container with **--name** then it will 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**, **--net**=*mode* +#### **--network**=*mode*, **--net** Set the network mode for the container. Invalid if using **--dns**, **--dns-opt**, or **--dns-search** with **--network** that is set to **none** or **container:**_id_. @@ -612,7 +612,7 @@ Valid _mode_ values are: - **host**: use the Podman host network stack. Note: the host mode gives the container full access to local system services such as D-bus and is therefore considered insecure; - _network-id_: connect to a user-defined network, multiple networks should be comma separated; - **ns:**_path_: path to a network namespace to join; -- `private`: create a new namespace for the container (default) +- **private**: create a new namespace for the container (default) - **slirp4netns[:OPTIONS,...]**: use **slirp4netns**(1) to create a user network stack. This is the default for rootless containers. It is possible to specify these additional options: - **allow_host_loopback=true|false**: Allow the slirp4netns to reach the host loopback IP (`10.0.2.2`). Default is false. - **cidr=CIDR**: Specify ip range to use for this network. (Default is `10.0.2.0/24`). |