1. 程式人生 > >Cannot connect to the Docker daemon at unix:///var

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

systemctl start roo system local daemon cal conn 解決辦法

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

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