Loading

运行 docker run hello-world 报错 Unable to find image ‘hello-world:latest‘ locally docker: Error response from daemon

原文链接:https://blog.csdn.net/weixin_43520450/article/details/107377342

报错提示如下:

解决办法:
1、执行以下命令

vim /etc/docker/daemon.json

2、添加以下的内容并保存

{ 
  "registry-mirrors": ["https://alzgoonw.mirror.aliyuncs.com"] 
}

3、重启docker

systemctl restart docker

4、查看状态

systemctl status docker

5、重新进行测试

docker run hello-world

问题解决!!!

posted @ 2022-09-21 20:46  爱睡懒觉的我  阅读(3715)  评论(0)    收藏  举报