我是在服务器动态扩容之后出现的这个问题
解决办法:重启服务器,或者启动docker服务
systemctl start docker 或重启systemctl restart docker
systemctl start docker 或重启
systemctl restart docker
查看状态
systemctl status docker
执行docker相关命令报错Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
原文:https://www.cnblogs.com/mihoutao/p/13826449.html