docker运行报错

Posted anthony-wang0228

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了docker运行报错相关的知识,希望对你有一定的参考价值。

Centos上安装Docker-CE,后运行docker run hello-world报错Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

解决办法
$ systemctl daemon-reload
$ sudo service docker restart
$ sudo service docker status (should see active (running))
$ sudo docker run hello-world

以上是关于docker运行报错的主要内容,如果未能解决你的问题,请参考以下文章