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

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

解决办法

curl -fsSL https://get.docker.com/rootless | sh
service docker start
docker ps

你可能感兴趣的:(centos7 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon ...)