docker-machine without TLS verification

4.3k views Asked by At

I'm using docker-machine v0.3.0-RC-1 and I need create a host on virtualbox without TLS verification, but I don't know if it's posible to do it? Anybody know a ligth way to do it?

2

There are 2 answers

0
enrique-carbonell On BEST ANSWER

After some research about it and interchange with other user over freenode chat room, I found that in current version this option is not available, you can't set env var to disable TLS verification on creation process with docker-machine. Also some people recommend for now use solution presented on deis/issues/2230.

0
bhurlow On

to start the docker daemon without tls you may simply bind it to an open port

docker daemon -H 0.0.0.0:2376

and then your client may connect with

docker -H tcp://<host-ip>:2376

also make sure you don't have DOCKER_TLS_VERIFY or DOCKER_CERT_PATH set in your environment