【转载】Docker 安装后 报 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 解决办法
<p>转载链接:https://testerhome.com/topics/9426</p><p> </p>
<p>刚在新的Centos上安装Docker-CE,后运行<code>docker run hello-world</code>报错<code>Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?</code></p>
<p>解决办法<br><code>$ systemctl daemon-reload<br>$ sudo service docker restart<br>$ sudo service docker status (should see active (running))<br>$ sudo docker run hello-world</code></p><br><br>
来源:https://www.cnblogs.com/forturn/p/9371841.html
頁:
[1]