轉載連接: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
rest
$ sudo service docker restart
$ sudo service docker status (should see active (running))
$ sudo docker run hello-world