【轉載】Docker 安裝後 報 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker d

轉載連接:https://testerhome.com/topics/9426docker

 

剛在新的Centos上安裝Docker-CE,後運行docker run hello-world報錯Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?unix

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

相關文章
相關標籤/搜索