August 2018
Intermediate to advanced
352 pages
12h 30m
English
In this recipe, we used the --tlscacert, --tlscert, and --tlskey options of docker command to connect to the TLS enabled Docker daemon. Invoking the docker command using such a long list of options is quite klutzy. However, we can get around this issue by doing the following:
$ export DOCKER_HOST=tcp://127.0.0.1:2376
$ export DOCKER_TLS_VERIFY=1
Now, you can run the docker command as if you were running it on the Unix socket.
In this recipe, we launched the Docker daemon from ...
Read now
Unlock full access