Is the docker daemon running?


[root@VM-0-12-centos ~]# docker search hello-world
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

启动docker

[root@iZ2zeca7jric8sx4f3n7spZ ~]# docker search redis
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[root@iZ2zeca7jric8sx4f3n7spZ ~]# systemctl start docker

可以查找

[root@iZ2zeca7jric8sx4f3n7spZ ~]# docker search redis
NAME                             DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
redis                            Redis is an open source key-value store that…   8901      [OK]
bitnami/redis                    Bitnami Redis Docker Image                      169                  [OK]
sameersbn/redis                                                                  82                   [OK]

相关文章:

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