Summary of solutions to the current inaccessibility of Docker Hub in China – Zhihu
Article Catalog[Hidden]
Views: 7
Thank you for reading this post, don't forget to subscribe!Summary of solutions to the current inaccessibility of Docker Hub in China - Zhihu
Summary of solutions to the current inaccessibility of Docker Hub in China - Zhihu
Switching Mode
write an essay
log in Register
Summary of solutions to the current inaccessibility of Docker Hub in China
//www.zhihu.com/people/shou-shang-de-hui-lang
More articles at:www.xiaosikeji.cn
32 people agreed with this article
Since mid-May 2023, the famous Docker container platform: http://hub.docker.com “I don’t know” For some reason, it is no longer accessible in China.
Haha, this has a big impact on domestic servers pulling Docker repositories. But fortunately, there is a Docker Hub mirroring platform in China. There are paid ones and free ones!
Let me give you a brief introduction below!
Configure mirroring
sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon.json <<-'EOF' { "registry-mirrors": [ "https://docker.m.daocloud.io", "https://dockerproxy.com", "https://docker.mirrors.ustc.edu.cn", "https://docker.nju.edu.cn" ] } EOF sudo systemctl daemon-reload sudo systemctl restart docker
Summarize the available domestic images
DaoCloud Mirror Site
Acceleration address:https://docker.m.daocloud.io
Support: Docker Hub, GCR, K8S, GHCR, Quay, NVCR, etc.
Free to the public: Yes
NetEase Cloud
Acceleration address:https://hub-mirror.c.163.com
Support: Docker Hub
Free to the public: Yes
Docker Image Proxy
Acceleration address:https://dockerproxy.com
Support: Docker Hub, GCR, K8S, GHCR
Free to the public: Yes
Baidu cloud
Acceleration address:https://mirror.baidubce.com
Support: Docker Hub
Free to the public: Yes
Nanjing University Mirror Site
Acceleration address:https://docker.nju.edu.cn
Support: Docker Hub, GCR, GHCR, Quay, NVCR, etc.
Free to the public: Yes
Shanghai Jiaotong University Mirror Site
Acceleration address:https://docker.mirrors.sjtug.sjtu.edu.cn/
Support: Docker Hub, GCR, etc.
Restrictions: None
Ali Cloud
Acceleration address: .mirror.aliyuncs.com
Support: Docker Hub
Restriction: You need to log in to get the CODE
HKUST Mirror Site
Acceleration address:https://docker.mirrors.ustc.edu.cn
Support: Docker Hub, GCR, Quay
Restrictions: Internal access only
Azure China Mirror
Acceleration address:https://dockerhub.azk8s.cn
Support: Docker Hub, GCR, Quay
Restrictions: Internal access only
Fail Closed
Qiniu Cloud
Acceleration address:https://reg-mirror.qiniu.com
Support: Docker Hub, GCR, Quay
Restrictions: Closed
Docker China official image
Acceleration address:https://registry.docker-cn.com
Support: Docker Hub
Restrictions: Closed
other methods
For some popular Docker repositories, the domestic accelerated image updates are quite timely. After all, it costs a lot for large companies to provide image services for free. They will not cache the entire Docker Hub repository, and the image updates are not timely!
The fastest and most timely way to request directly http://hub.docker.com Get the docker repository. You can use some of the methods introduced in this blog before!
Published on 2023-07-10 10:49・IP Location: Zhejiang
[
Docker
](//www.zhihu.com/topic/19950993)
[
Sci-Hub
](//www.zhihu.com/topic/20040672)
Agree 3232 comments
Share
Like Collection Apply for reprint
Write your comment...
32 Comments
default
up to date
https://www.zhihu.com/people/a5772ca553695215ff9a5b8a2e72959e
It's not a problem with pulling, it's just that it's inconvenient to read the container description and usage documentation
2023-08-24 · IP Location: Hubei
25 replies
https://www.zhihu.com/people/07cd7c918e92749f173497a70624db35
You have to use a ladder to read a technical document. It's a joke that such a place can lead the technology.
2023-09-12 · IP Location Xinjiang
67 replies
https://www.zhihu.com/people/aa4452824cc872253b0432a53ab1d424
There are also people in Chengde who were fined by the police.
2023-10-01 · IP Location: Guangdong
7 replies
View all 6 replies
https://www.zhihu.com/people/170bcf8619ac8c386ff2d1e4e0417654
This time it seems that it is not the fault of domestic review. I remember that it was the blockade by the United States that caused Docker EE and Docker Hub to be unusable in China. Only Docker CE can be used.
2023-09-05 · IP Location: Guangdong
10 replies
https://www.zhihu.com/people/4729d230f743e81677027dba90bd02c5
Oh, what a troublesome group
2023-08-04 · IP Location: Zhejiang
11 replies
https://www.zhihu.com/people/2bd706cdbb9eff55e9597555ce51b0ce
No need now
2023-08-15 · IP Location: Beijing
5 replies
https://www.zhihu.com/people/63565abd44a9ecd440f6d5c36ad67e08
There is a mirror for image pulling. Just configure registry-mirrors. Now it is http://hub.docker.com Unable to access, some documents and searches are unavailable, oh, so depressing
2023-12-06 · IP Location: Yunnan
4 replies
https://www.zhihu.com/people/a5b2ad6aff049ac2699fe9225d69835c
g, wiki, github, quora, onedrive, docker, dify, huggingface …
2023-11-13 · IP Location: Beijing
1 Answer
https://www.zhihu.com/people/590354c1c585aea1c6d7a8578407b115
Damn, all of them are useless.
2023-10-23 · IP Location: Hunan
2 Answers
https://www.zhihu.com/people/33f8719cbdac985d56097df5cdbd5491
Me too, Alibaba Cloud doesn't work either
2023-10-23 · IP Location: Chongqing
1 Answer
https://www.zhihu.com/people/b46b40b6abb05da9b7bf491448d39b5a
Um, Alibaba Cloud can’t be used either? That’s impossible. Alibaba Cloud will not be blocked.
2023-10-24 · IP Location Zhejiang
Reply Like
https://www.zhihu.com/people/b101710c70b9e090f5e099122c82e993
I haven't used docker for a long time and wanted to download an image. Suddenly I found such a "big surprise". These people are really idle to a certain extent.
2023-08-30 · IP Location: Beijing
2 Answers
https://www.zhihu.com/people/59687d3f9e965df1bea989465142bec9
I can't log in even after climbing over the firewall. It seems that Docker itself has also imposed restrictions.
2023-10-09 · IP Location Zhejiang
5 replies
https://www.zhihu.com/people/ce88a29c6db71014d7b333c2ec7787f9
@Huawei, immediately develop a domestic docker
2023-12-02 · IP Location: Guangdong
1 Answer
Expand 1 more reply
https://www.zhihu.com/people/f025b051d96a1e2d2e7c4855d8f07e3a
Docker hub can connect and download, but the webpage cannot be opened
2023-12-01 · IP Location: Jiangsu
1 Answer
https://www.zhihu.com/people/102d0744a30e5cae3519d25cc84c31ea
https://github.com/docker-library/docs/
02-20 · IP Location: Hunan
1 Answer
https://www.zhihu.com/people/515fd174967c20043c6ca9420ca78cfb
magic
02-06 · IP Location: Fujian
Reply Like
Click to view all comments
Write your comment...
Recommended Reading
[
What is Cilium, the next generation data plane selected by Google?
===========================
Zhang Jintao published in k8s ecology
](https://zhuanlan.zhihu.com/p/213745089)[
Fully embrace FastApi — Multi-application management blueprint APIRouter
=============================
FastAPI is a framework with concurrent performance comparable to NodeJS and Go. It is based on the Starlette framework, similar to a subclass of Starlette. I have been using and learning FastApi recently, and the performance is indeed much better than the previous frameworks I used...
Jerry
](https://zhuanlan.zhihu.com/p/120885265)[
Obsidian Simple Project Tracking (Short Article)
===============
Tracking projects with Obsidian (Metaedit, Dataview and Kanban) Metaedit is responsible for automatic updates, Dataview is responsible for output status, and Kanban is responsible for specific tasks; Set the Metaedit plugin as shown in Figure 1 and then in Kanban metadata...
Bonin...Posted on obsid...
](https://zhuanlan.zhihu.com/p/378478522)[
How to build a multi-node Elastic stack cluster on RHEL8 /CentOS8
========================================
Linux...Published in Linux
](https://zhuanlan.zhihu.com/p/84417068)
Want to work at Zhihu? Please send an email to jobs@zhihu.com
Create article successfully
Empty!