docker Ali cloud acceleration pull Mirror

1. Registration Ali cloud

https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors

2. Click Console -> Products & Services -> Elastic Compute -> container image management, see their own proprietary image accelerator:

 

 


3. The official document configuration
[root @ foundation19 ~] # cd / etc / docker / [root @ foundation19 docker] # ls key.json [root @ foundation19 docker] # vim daemon.json { "registry-mirrors": [ "https://iwpfe8zv.mirror.aliyuncs.com"] ##} add their own mirror accelerator
1
reload and restart docker

systemctl daemon-reload
 systemctl restart docker

Guess you like

Origin www.cnblogs.com/daysn/p/12102468.html