docker-machine create node without tls verification

僤鯓⒐⒋嵵緔 提交于 2019-11-27 19:30:29

try:

docker-machine create -d virtualbox --engine-opt tlsverify=false node1

and after running:

eval "$(docker-machine env node1)"

run:

unset DOCKER_TLS_VERIFY

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

This worked best for me:

docker-machine create -d virtualbox --engine-env DOCKER_TLS=no --engine-opt host=tcp://0.0.0.0:2375 node1

This way it binds to 2375 in addition to 2376. 2375 is the tradition for non-tls daemons.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!