Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker 镜像加速 #48

Open
0fengzi0 opened this issue Oct 23, 2022 · 0 comments
Open

Docker 镜像加速 #48

0fengzi0 opened this issue Oct 23, 2022 · 0 comments

Comments

@0fengzi0
Copy link
Owner

0fengzi0 commented Oct 23, 2022

Linux

创建或修改 /etc/docker/daemon.json

sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
     "registry-mirrors": [
          "https://reg-mirror.qiniu.com",
          "https://mirror.ccs.tencentyun.com",
          "http://f1361db2.m.daocloud.io"
     ]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker

Windows

在桌面右下角状态栏中右键 docker 图标,修改在 Docker Daemon 标签页中的 json

{
     "registry-mirrors": [
          "https://reg-mirror.qiniu.com",
          "https://mirror.ccs.tencentyun.com",
          "http://f1361db2.m.daocloud.io"
     ]
}

目前已知的镜像站

镜像加速器 镜像加速器地址 专属加速器 其它加速
Docker 中国官方镜像 https://registry.docker-cn.com Docker Hub已关闭
DaoCloud 镜像站 http://f1361db2.m.daocloud.io 可登录,系统分配 Docker Hub
Azure 中国镜像 https://dockerhub.azk8s.cn Docker Hub、GCR、Quay
科大镜像站 https://docker.mirrors.ustc.edu.cn Docker Hub、GCRQuay(已关闭)
阿里云 https://<your_code>.mirror.aliyuncs.com 需登录,系统分配 Docker Hub
七牛云 https://reg-mirror.qiniu.com Docker Hub、GCR、Quay
网易云 https://hub-mirror.c.163.com Docker Hub
腾讯云 https://mirror.ccs.tencentyun.com Docker Hub
Docker 镜像代理 https://dockerproxy.com/ Docker Hub、GCR、K8S、GHCR

参考内容

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant