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

运行docker命令出现下面的错误:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?


image.png

解决办法:
重启docker服务.


image.png

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