Docker 报错unix:///var/run/docker.sock

Docker 报错unix:///var/run/docker.sock

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
# linux   centos   Docker  

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×