1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

Add docs for --dns-search=.

PR 6720 introduce that use `--dns-search=.` will not set `search` in `/etc/resolv.conf`.

Signed-off-by: Huayi Zhang <irachex@gmail.com>
This commit is contained in:
Huayi Zhang
2014-10-29 17:17:02 +08:00
committed by Tibor Vass
parent c90e4b1bc5
commit deabfbc88f

View File

@@ -119,7 +119,7 @@ for un-encrypted, and port `2376` for encrypted communication with the daemon.
> and greater are supported. Protocols SSLv3 and under are not supported anymore
> for security reasons.
On Systemd based systems, you can communicate with the daemon via
On Systemd based systems, you can communicate with the daemon via
[systemd socket activation](http://0pointer.de/blog/projects/socket-activation.html), use
`docker -d -H fd://`. Using `fd://` will work perfectly for most setups but
you can also specify individual sockets: `docker -d -H fd://3`. If the
@@ -1035,7 +1035,7 @@ used, which is observable by the process being suspended. With the cgroups freez
the process is unaware, and unable to capture, that it is being suspended,
and subsequently resumed.
See the
See the
[cgroups freezer documentation](https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt)
for further details.
@@ -1227,7 +1227,7 @@ removed before the image is removed.
-d, --detach=false Detached mode: run the container in the background and print the new container ID
--device=[] Add a host device to the container (e.g. --device=/dev/sdc:/dev/xvdc:rwm)
--dns=[] Set custom DNS servers
--dns-search=[] Set custom DNS search domains
--dns-search=[] Set custom DNS search domains (Use --dns-search=. if you don't wish to set the search domain)
-e, --env=[] Set environment variables
--entrypoint="" Overwrite the default ENTRYPOINT of the image
--env-file=[] Read in a line delimited file of environment variables
@@ -1615,7 +1615,7 @@ them to [*Share Images via Repositories*](
The `docker unpause` command uses the cgroups freezer to un-suspend all
processes in a container.
See the
See the
[cgroups freezer documentation](https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt)
for further details.