Docker初次安装运行出错:Cannot connect to the Docker daemon at ***/docker.sock. Is the docker daemon running?

Posted 酸_葡_萄

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Docker初次安装运行出错:Cannot connect to the Docker daemon at ***/docker.sock. Is the docker daemon running?相关的知识,希望对你有一定的参考价值。

参考:https://segmentfault.com/u/climatezhangxi 的https://segmentfault.com/q/1010000005040763

docker-machine restart&&eval "$(docker-machine env default)"&&docker-machine env 运行这么一串就好了

以上是关于Docker初次安装运行出错:Cannot connect to the Docker daemon at ***/docker.sock. Is the docker daemon running?的主要内容,如果未能解决你的问题,请参考以下文章