summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-run.1.md
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2020-03-10 14:03:50 -0600
committerEd Santiago <santiago@redhat.com>2020-03-10 15:03:59 -0600
commit281def2647142acd1a901332391bd25f96169286 (patch)
tree0a52c1d1fe2c1235d351d0606ff1cead5219f1d7 /docs/source/markdown/podman-run.1.md
parentfe49daa3c2e83bd0ec8ee36ec156b73967f4f0da (diff)
downloadpodman-281def2647142acd1a901332391bd25f96169286.tar.gz
podman-281def2647142acd1a901332391bd25f96169286.tar.bz2
podman-281def2647142acd1a901332391bd25f96169286.zip
man pages: fix inconsistencies
I wrote a script to cross-reference podman --help against man pages. It found a bunch of inconsistencies fix them: * options missing from man pages * options misspelled or misformatted in man pages (usually misplaced asterisks or missing dashes, but see --dns-opt) * one spurious comma in the actual source file --help This is a fix in which I iterate over 'podman CMD --help' and check for presence in man pages. The other way around (look for flags in man pages, check podman CMD --help) is probably impossible: there are too many special cases Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'docs/source/markdown/podman-run.1.md')
-rw-r--r--docs/source/markdown/podman-run.1.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/docs/source/markdown/podman-run.1.md b/docs/source/markdown/podman-run.1.md
index f595e77e4..3225654b6 100644
--- a/docs/source/markdown/podman-run.1.md
+++ b/docs/source/markdown/podman-run.1.md
@@ -225,6 +225,10 @@ Note: if the user only has access rights via a group, accessing the device
from inside a rootless container will fail. The **crun**(1) runtime offers a
workaround for this by adding the option **--annotation run.oci.keep_original_groups=1**.
+**--device-cgroup-rule**=rule
+
+Add a rule to the cgroup allowed devices list
+
**--device-read-bps**=_path_:_rate_
Limit read rate (in bytes per second) from a device (e.g. **--device-read-bps=/dev/sda:1mb**).
@@ -253,9 +257,9 @@ is the case the **--dns** flags is necessary for every run.
The special value **none** can be specified to disable creation of _/etc/resolv.conf_ in the container by Podman.
The _/etc/resolv.conf_ file in the image will be used without changes.
-**--dns-option**=*option*
+**--dns-opt**=*option*
-Set custom DNS options. Invalid if using **--dns-option** with **--network** that is set to **none** or **container:**_id_.
+Set custom DNS options. Invalid if using **--dns-opt** with **--network** that is set to **none** or **container:**_id_.
**--dns-search**=*domain*
@@ -342,7 +346,7 @@ value can be expressed in a time format such as **1m22s**. The default value is
Print usage statement
-**--hostname**=*name*
+**-h**, **--hostname**=*name*
Container host name
@@ -547,7 +551,7 @@ This works for both background and foreground containers.
**--network**, **--net**=*mode*
-Set the network mode for the container. Invalid if using **--dns**, **--dns-option**, or **--dns-search** with **--network** that is set to **none** or **container:**_id_.
+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_.
Valid _mode_ values are: