Unable to find image 'hello-world:latest' locally docker: Error response from daemon

(1)修改

sudo vim /etc/docker/daemon.json

(2)添加

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

并保存

(3)重启

systemctl restart docker
sudo systemctl status docker

(4)

sudo docker run hello-world

 

猜你喜欢

转载自www.cnblogs.com/douzujun/p/12295101.html