Cannot connect to the Docker daemon at unix:///var

docker 已经成功安装了。但是执行docker的时候报错。

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

解决办法:

[root@localhost ~]# service docker start 
Redirecting to /bin/systemctl start docker.service

猜你喜欢

转载自blog.51cto.com/xinsir/2160836
今日推荐