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