Docker.報錯.Is the docker daemon running?


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]


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM