docker-machine create node without tls verification

Montells picture Montells · Jun 8, 2015 · Viewed 8.1k times · Source

When I create a node with docker-machine

docker-machine create -d virtualbox node1

it is created with tls verification enabled for docker deamon which made things a bit more of a hassle than normal for swarm.

I want to create a node with docker-machine without tls verification for testing purpose.

I tried with:

docker-machine create -d virtualbox --engine-tls false node1

and

docker-machine create -d virtualbox --engine-tls-verify false node1

and

docker-machine create -d virtualbox --engine-opt-tls false node1

Answer

ax003d picture ax003d · Jan 20, 2016

I use commands below:

docker-machine create -d virtualbox --engine-env DOCKER_TLS=no node1

And then ssh to the node to execute docker commands:

docker-machine ssh node1
$ docker info