Last active
September 12, 2016 17:27
-
-
Save vovimayhem/1a727a390bd03d5bf546c40c3a67eac7 to your computer and use it in GitHub Desktop.
A convenient way to set the env vars to configure a Docker Client access to a secure remote Docker Engine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Make sure you have this file in a folder along with your certs. | |
| # Also, keep in mind that the filenames must follow the convention: | |
| # - Certificate Authority Certificate must be named "ca.pem" | |
| # - Client Certificate must be named "cert.pem" | |
| # - Client Key must be named "key.pem" | |
| # | |
| # Run with `source env.sh` | |
| export DOCKER_TLS_VERIFY=1 | |
| export DOCKER_CERT_PATH="$(pwd)" | |
| export DOCKER_HOST=tcp://your-host-name:2376 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment