输入docker version
返回错误Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
解决办法:
service docker start
* Starting Docker: docker [ OK ]
类似问题可参考:
docker出现如下错误: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 run_Aaron_80726的博客-CSDN博客