Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 740 Bytes

using-with-tls.md

File metadata and controls

23 lines (18 loc) · 740 Bytes

Using with TLS

If you are using a version of docker with TLS enabled (supported in docker v1.3.0 and up, enabled by default with boot2docker), you will need to use docker-builder v0.9.2 or greater.

Additionally, you must set the following environment variables:

# all values are the boot2docker defaults
export DOCKER_CERT_PATH="$HOME/.boot2docker/certs/boot2docker-vm"
export DOCKER_TLS_VERIFY=1
export DOCKER_HOST="tcp://127.0.0.1:2376"

NOTE: docker-builder will automatically set the correct url scheme for TLS if you are using port 2376. If you are using another port and wish to enable TLS, you must set the following additional environment variable:

export DOCKER_HOST_SCHEME="https"