0
点赞
收藏
分享

微信扫一扫

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


场景

执行docker build命令的时候报错,信息为:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

解决方案

执行如下命令即可

systemctl daemon-reload;
systemctl restart docker;
systemctl status docker; # 查看状态


举报

相关推荐

0 条评论