报错内容
Couldn't connect to Docker daemon at http+docker://localhost - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.

解决方法:service docker restart

本文详细介绍了当遇到无法连接到Docker守护进程的问题时的解决方法。如果Docker守护进程未运行或不在标准位置,文章提供了重启服务和设置DOCKER_HOST环境变量的指导。
报错内容
Couldn't connect to Docker daemon at http+docker://localhost - is it running?
If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.

解决方法:service docker restart

8309