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

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -