1、执行命令docker version报错
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

2、解决办法
重启Docker
systemctl restart docker

本文介绍了在使用`dockerversion`命令时遇到的连接Dockerdaemon错误,原因可能是Docker服务未运行。解决方法是通过系统命令`systemctlrestartdocker`重启Docker服务。
1、执行命令docker version报错
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

2、解决办法
重启Docker
systemctl restart docker

746

被折叠的 条评论
为什么被折叠?