Docker——报错“Cannot connect to the
2021-03-29 本文已影响0人
小T呀
重新开启虚机后使用docker报错:“Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?”
![](https://img.haomeiwen.com/i13921028/d87e054b856892f4.png)
解决:实际上是没有启动docker,输入以下命令启动docker
systemctl start docker
重新开启虚机后使用docker报错:“Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?”
systemctl start docker