ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?
程序员文章站
2022-03-12 12:34:36
...
主要原因是docker不是系统服务方式启动。
解决方法:
1、启动docker服务
service docker start
2、生成自启动服务
systemctl enable docker.service
3、查看服务状态,Active状态为:active(running)
systemctl status docker.service
推荐阅读
-
Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
-
Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
-
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?
-
ERROR: Couldn‘t connect to Docker daemon at http+docker://localhost - is it running?
-
解决ERROR: Couldn't connect to Docker daemon at http://127.0.0.1:4243 - is it running
-
解决 docker中 error:Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
-
ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
-
ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?
-
ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?
-
解决ERROR: Couldn't connect to Docker daemon at http://127.0.0.1:4243 - is it running