diff --git a/docs/reference/commandline/cli.md b/docs/reference/commandline/cli.md index d2218667d7..2eba7636e1 100644 --- a/docs/reference/commandline/cli.md +++ b/docs/reference/commandline/cli.md @@ -19,7 +19,7 @@ or execute `docker help`: docker daemon [ --help | ... ] docker [ --help | -v | --version ] - -H, --host=[]: The socket(s) to bind to in daemon mode, specified using one or more tcp://host:port, unix:///path/to/socket, fd://* or fd://socketfd. + -H, --host=[]: The socket(s) to talk to the Docker daemon in the format of tcp://host:port/path, unix:///path/to/socket, fd://* or fd://socketfd. A self-sufficient runtime for Linux containers. diff --git a/man/docker.1.md b/man/docker.1.md index 41329deb3b..18df3b5cf2 100644 --- a/man/docker.1.md +++ b/man/docker.1.md @@ -36,10 +36,12 @@ To see the man page for a command run **man docker **. **-D**, **--debug**=*true*|*false* Enable debug mode. Default is false. -**-H**, **--host**=[unix:///var/run/docker.sock]: tcp://[host:port] to bind or +**-H**, **--host**=[unix:///var/run/docker.sock]: tcp://[host]:[port][path] to bind or unix://[/path/to/socket] to use. The socket(s) to bind to in daemon mode specified using one or more - tcp://host:port, unix:///path/to/socket, fd://* or fd://socketfd. + tcp://host:port/path, unix:///path/to/socket, fd://* or fd://socketfd. + If the tcp port is not specified, then it will default to either `2375` when + `--tls` is off, or `2376` when `--tls` is on, or `--tlsverify` is specified. **-l**, **--log-level**="*debug*|*info*|*warn*|*error*|*fatal*"" Set the logging level. Default is `info`.