Quellcode durchsuchen

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 vor 10 Jahren
Ursprung
Commit
6a1da678de
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      docs/sources/articles/https.md

+ 2 - 2
docs/sources/articles/https.md

@@ -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
 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
 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
 `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
     $ mkdir -pv ~/.docker
     $ cp -v {ca,cert,key}.pem ~/.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:
 Docker will now connect securely by default: