其他分享
首页 > 其他分享> > docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon run

docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon run

作者:互联网

执行docker的命令时出现  docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

原因:此时已确定Docker本身已经安装正常。 问题原因是因为docker服务没有启动,所以在相应的/var/run/ 路径下找不到docker的进程。

执行:service docker start

启动docker服务,返回docker start/running, process 2662

此时进程启动成功

标签:daemon,run,running,var,Docker,docker
来源: https://www.cnblogs.com/fmfzx/p/16218301.html