Merge pull request #10461 from estesp/fix-tls-docs

Add missing `$HOST` in a couple places in HTTPS/TLS setup docs
This commit is contained in:
Fred Lifton 2015-01-30 17:25:29 -08:00
commit dfbb3e322b
1 changed files with 2 additions and 2 deletions

View File

@ -150,11 +150,11 @@ need to provide your client keys, certificates and trusted CA:
If you want to secure your Docker client connections by default, you can move
the files to the `.docker` directory in your home directory -- and set the
`DOCKER_HOST` and `DOCKER_TLS_VERIFY` variables as well (instead of passing
`-H=tcp://:2376` and `--tlsverify` on every call).
`-H=tcp://$HOST:2376` and `--tlsverify` on every call).
$ mkdir -pv ~/.docker
$ cp -v {ca,cert,key}.pem ~/.docker
$ export DOCKER_HOST=tcp://:2376 DOCKER_TLS_VERIFY=1
$ export DOCKER_HOST=tcp://$HOST:2376 DOCKER_TLS_VERIFY=1
Docker will now connect securely by default: