diff options
author | Ed Santiago <santiago@redhat.com> | 2022-09-14 13:50:37 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2022-09-15 10:12:34 -0600 |
commit | 62d1c487d9b00d71ba5db4e53bb6006959ef9e03 (patch) | |
tree | 1d1e09d921c6ab7f2a908b19ca1b8722c8e3db13 /docs/source/markdown/podman-run.1.md.in | |
parent | 50c538b3cc7a218fe009180bbe20b0c464add6f7 (diff) | |
download | podman-62d1c487d9b00d71ba5db4e53bb6006959ef9e03.tar.gz podman-62d1c487d9b00d71ba5db4e53bb6006959ef9e03.tar.bz2 podman-62d1c487d9b00d71ba5db4e53bb6006959ef9e03.zip |
Man pages: Refactor common options: --dns
Only between podman-build, create, and run. podman-pod-create
is too different.
As usual I went with the podman-run version. This means
keeping the word "flag" (which should be "option"), for
ease of review. I will fix in my in-progress cleanup PR.
For podman-build, I removed "during the build" and changed
it to a note for that man page only.
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'docs/source/markdown/podman-run.1.md.in')
-rw-r--r-- | docs/source/markdown/podman-run.1.md.in | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/docs/source/markdown/podman-run.1.md.in b/docs/source/markdown/podman-run.1.md.in index b4bb107d6..37d052646 100644 --- a/docs/source/markdown/podman-run.1.md.in +++ b/docs/source/markdown/podman-run.1.md.in @@ -177,17 +177,9 @@ flag to pass the user's supplementary group access into the container. @@option disable-content-trust -#### **--dns**=*ipaddr* +@@option dns -Set custom DNS servers. Invalid if using **--dns** with **--network** that is set to **none** or **container:**_id_. - -This option can be used to override the DNS -configuration passed to the container. Typically this is necessary when the -host DNS configuration is invalid for the container (e.g., **127.0.0.1**). When this -is the case the **--dns** flag 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. +This option cannot be combined with **--network** that is set to **none** or **container:**_id_. @@option dns-opt.container |