DOCKER_HOST
The environment variable that tells the docker client which engine to talk to, such as tcp://node6:2376.
In more detail
With DOCKER_TLS_VERIFY=1 and DOCKER_CERT_PATH it reaches a remote engine over mutual TLS. Sourcing a client bundle sets all three.
Related terms
- DOCKER_TLS_VERIFY — The environment variable that makes the docker client use TLS and verify the engine against a CA.
- DOCKER_CERT_PATH — The environment variable naming the directory that holds the docker client's ca.pem, cert.pem and key.pem.
- client bundle — A zip file from UCP or MKE holding a user's certificate and key, the CA, env.sh and a kubeconfig, for command-line access.
Taught in
- Port 2375, Open To The Office: Engine TLS And Registry Certificates — Docker Certified Associate (DCA) Exam Prep
- Who Let Femi In? UCP Roles, Grants, LDAP And Client Bundles — Docker Certified Associate (DCA) Exam Prep
- Security Sprint: Eight Questions On Defaults, Trust And Access — Docker Certified Associate (DCA) Exam Prep