diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-09-16 11:33:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-16 11:33:44 +0200 |
commit | 373267d103a45dfc1bef885eb47315bfb1f30bb2 (patch) | |
tree | 9642c47cb227637c6a99556ca1200da332a4a449 /docs/source/markdown/options | |
parent | ccee741973a182f65af4e58302c9a76107974f0a (diff) | |
parent | 62d1c487d9b00d71ba5db4e53bb6006959ef9e03 (diff) | |
download | podman-373267d103a45dfc1bef885eb47315bfb1f30bb2.tar.gz podman-373267d103a45dfc1bef885eb47315bfb1f30bb2.tar.bz2 podman-373267d103a45dfc1bef885eb47315bfb1f30bb2.zip |
Merge pull request #15817 from edsantiago/docs_dedup_dns
[CI:DOCS] Man pages: Refactor common options: --dns
Diffstat (limited to 'docs/source/markdown/options')
-rw-r--r-- | docs/source/markdown/options/dns.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/source/markdown/options/dns.md b/docs/source/markdown/options/dns.md new file mode 100644 index 000000000..39380ace2 --- /dev/null +++ b/docs/source/markdown/options/dns.md @@ -0,0 +1,11 @@ +#### **--dns**=*ipaddr* + +Set custom DNS servers. + +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. |