docker - What does the DOCKER_TLS_VERIFY and DOCKER_CERT_PATH variable do? -


i new docker, using boot2docker on windows 7.
while trying configure docker build through spotify maven plugin, asked set below env variables :

docker_host docker_cert_path docker_tls_verify 

configuration successful not sure docker_tls_verify , docker_cert_path variables ?

as mentioned in readme:

by default, boot2docker runs docker tls enabled. auto-generates certificates , stores them in /home/docker/.docker inside vm.
boot2docker up command copy them ~/.boot2docker/certs on host machine once vm has started, , output correct values docker_cert_path , docker_tls_verify environment variables.

eval "$(boot2docker shellinit)" set them correctly. 

we recommend against running boot2docker unencrypted docker socket security reasons, if have tools cannot switched, can disable adding docker_tls=no /var/lib/boot2docker/profile file.

in more dynamic environment, boot2docker ip can change, see issue 944.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -