Cannot connect to the Docker

49 阅读1分钟

执行docker基础命令失败!

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

原因: docker服务没有启动。

解决方法: 执行 systemctl start docker 即可。