2025docker镜像源配置记录

编辑配置文件

  1. vi /etc/docker/daemon.json

添加内容

  1. {
  2. "registry-mirrors": [
  3. "https://docker.m.daocloud.io",
  4. "https://noohub.ru",
  5. "https://huecker.io",
  6. "https://dockerhub.timeweb.cloud",
  7. "https://0c105db5188026850f80c001def654a0.mirror.swr.myhuaweicloud.com",
  8. "https://5tqw56kt.mirror.aliyuncs.com",
  9. "https://docker.1panel.live",
  10. "http://mirrors.ustc.edu.cn/",
  11. "http://mirror.azure.cn/",
  12. "https://hub.rat.dev/",
  13. "https://docker.ckyl.me/",
  14. "https://docker.chenby.cn",
  15. "https://docker.hpcloud.cloud",
  16. "https://docker.m.daocloud.io"
  17. ]
  18. }

重启docker

  1. systemctl restart docker

此处评论已关闭