ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running?

 

主要原因是docker不是系统服务方式启动。

解决方法:

1、启动docker服务

service docker start
2、生成自启动服务

systemctl enable docker.service
3、查看服务状态,Active状态为:active(running)

systemctl status docker.service

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-20
  • 2022-12-23
  • 2021-07-02
  • 2021-11-29
相关资源
相似解决方案