docker設置國內鏡像


linux設置鏡像加速

sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["https://tnxkcso1.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker

mac設置鏡像加速,適用於docker desktop for mac

{
  "experimental": false,
  "debug": false,
  "registry-mirrors": [
    "https://eqcxmbvw.mirror.aliyuncs.com"
  ]
}

從2020年4月開始阿里雲容器鏡像服務就開始收費了,珍惜免費的加速地址吧。


免責聲明!

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



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