mirror of
https://github.com/containers/podman.git
synced 2025-06-23 02:18:13 +08:00
Merge pull request #15528 from edsantiago/docs_dedup_dnsopt
[CI:DOCS] Man pages: refactor common options: --dns-*
This commit is contained in:
3
docs/source/markdown/options/dns-opt.container.md
Normal file
3
docs/source/markdown/options/dns-opt.container.md
Normal file
@ -0,0 +1,3 @@
|
||||
#### **--dns-opt**=*option*
|
||||
|
||||
Set custom DNS options. Invalid if using **--dns-opt** with **--network** that is set to **none** or **container:**_id_.
|
4
docs/source/markdown/options/dns-search.container.md
Normal file
4
docs/source/markdown/options/dns-search.container.md
Normal file
@ -0,0 +1,4 @@
|
||||
#### **--dns-search**=*domain*
|
||||
|
||||
Set custom DNS search domains. Invalid if using **--dns-search** with **--network** that is set to **none** or **container:**_id_.
|
||||
Use **--dns-search=.** if you don't wish to set the search domain.
|
@ -184,13 +184,9 @@ 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.
|
||||
|
||||
#### **--dns-opt**=*option*
|
||||
@@option dns-opt.container
|
||||
|
||||
Set custom DNS options. Invalid if using **--dns-opt** and **--network** that is set to 'none' or `container:<name|id>`.
|
||||
|
||||
#### **--dns-search**=*domain*
|
||||
|
||||
Set custom DNS search domains. Invalid if using **--dns-search** and **--network** that is set to 'none' or `container:<name|id>`. (Use --dns-search=. if you don't wish to set the search domain)
|
||||
@@option dns-search.container
|
||||
|
||||
@@option entrypoint
|
||||
|
||||
|
@ -218,14 +218,9 @@ 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.
|
||||
|
||||
#### **--dns-opt**=*option*
|
||||
@@option dns-opt.container
|
||||
|
||||
Set custom DNS options. Invalid if using **--dns-opt** with **--network** that is set to **none** or **container:**_id_.
|
||||
|
||||
#### **--dns-search**=*domain*
|
||||
|
||||
Set custom DNS search domains. Invalid if using **--dns-search** and **--network** that is set to **none** or **container:**_id_.
|
||||
Use **--dns-search=.** if you don't wish to set the search domain.
|
||||
@@option dns-search.container
|
||||
|
||||
@@option entrypoint
|
||||
|
||||
|
Reference in New Issue
Block a user