Browse code

Add missing `$HOST` in a couple places in HTTPS/TLS setup docs

Fix typos in setup docs where tcp://:2376 is used without the $HOST
parameter.

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>

Phil Estes authored on 2015/01/31 01:20:50
Showing 1 changed files
... ...
@@ -150,11 +150,11 @@ need to provide your client keys, certificates and trusted CA:
150 150
 If you want to secure your Docker client connections by default, you can move
151 151
 the files to the `.docker` directory in your home directory -- and set the
152 152
 `DOCKER_HOST` and `DOCKER_TLS_VERIFY` variables as well (instead of passing
153
-`-H=tcp://:2376` and `--tlsverify` on every call).
153
+`-H=tcp://$HOST:2376` and `--tlsverify` on every call).
154 154
 
155 155
     $ mkdir -pv ~/.docker
156 156
     $ cp -v {ca,cert,key}.pem ~/.docker
157
-    $ export DOCKER_HOST=tcp://:2376 DOCKER_TLS_VERIFY=1
157
+    $ export DOCKER_HOST=tcp://$HOST:2376 DOCKER_TLS_VERIFY=1
158 158
 
159 159
 Docker will now connect securely by default:
160 160