[root@localhost docker]# docker pull mysql Using default tag: latest Trying to pull repository docker.io/library/mysql ... Get https://registry-1.docker.io/v2/library/mysql/manifests/latest: Get http


//阿里雲鏡像
{ "registry-mirrors":["https://6kx4zyno.mirror.aliyuncs.com"] }

1)vim /etc/docker/daemon.json

2)添加上述阿里雲鏡像

3)重啟Docker

  systemctl daemon-reload
  systemctl restart docker


免責聲明!

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



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