Better docs for docker.endpoint option

Fixes https://github.com/hashicorp/nomad/issues/3533
This commit is contained in:
Alex Dadgar 2017-11-13 10:20:40 -08:00
parent acee89ed2a
commit ba32088634
1 changed files with 6 additions and 3 deletions

View File

@ -490,9 +490,12 @@ of the Linux Kernel and Docker daemon.
The `docker` driver has the following [client configuration
options](/docs/agent/configuration/client.html#options):
* `docker.endpoint` - Defaults to `unix:///var/run/docker.sock`. You will need
to customize this if you use a non-standard socket (HTTP or another
location).
* `docker.endpoint` - If using a non-standard socket, HTTP or another location,
or if TLS is being used, `docker.endpoint` must be set. If unset, Nomad will
attempt to instantiate a Docker client using the `DOCKER_HOST` environment
variable and then fall back to the default listen address for the given
operating system. Defaults to `unix:///var/run/docker.sock` on unix platforms
and `npipe:////./pipe/docker_engine` for Windows.
* `docker.auth.config` <a id="auth_file"></a>- Allows an operator to specify a
JSON file which is in the dockercfg format containing authentication