Docker操作错误历史线

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

执行docker ps命令,出现

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

一般而言此时已确定Docker本身已经安装正常。原因是未启动docker服务,所以在相应的/var/run/ 路径下找不到docker的进程。

docker start/running, process 2662

此时进程启动成功,再执行docker ps,问题解决


2.错误:访问拒绝以及访问超时 (IP错误或者你的服务器安全组没暴露该接口)

参考 https://blog.csdn.net/laravelshao/article/details/79773895

原文地址:https://www.cnblogs.com/summerLSC/p/9565536.html