eval “$(docker-machine env default)” leads to Error checking TLS connection

怎甘沉沦 提交于 2019-12-06 05:29:56

Your boot2docker virtual machine must be running inside Virtualbox.

List your Docker machines:

$ docker-machine ls

NAME          ACTIVE   DRIVER       STATE     URL                          SWARM   DOCKER    ERRORS
default       -        virtualbox   Stopped                                        Unknown

Start default machine:

$ docker-machine start default

Starting "default"...
(default) Check network to re-create if needed...
(default) Waiting for an IP...
Machine "default" was started.
Waiting for SSH to be available...
Detecting the provisioner...
Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.

To recreate your default machine:

$ docker-machine rm default
$ docker-machine create --driver virtualbox default

Then you should be able to setup your env with eval "$(docker-machine env default)".

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