In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to solve the problem of slow docker pull mirroring, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
When downloading the Docker image directly, due to various reasons, the download often fails, even if the connection is successful, what should I do?
Now I know a way to speed it up: DaoCloud provides Docker Hub Mirror services.
Users can register in the Docker Hub Mirror Registration Portal (https://account.daocloud.io/signin). After entering the console page, you can directly click to start your accelerator, you can get an address of Mirror, configure this address in the startup script of Docker Daemon, and restart Docker Daemon to make the Docker Hub Mirror configuration effective.
After registering and logging in, click Accelerator:
Then you will get an address of Mirror, configure this address in the startup script of Docker Daemon, restart Docker Daemon to make the Docker Hub Mirror configuration effective. In other words, copy the acquired address to the server to be accelerated once, and then restart docker, just ok.
Docker acceleration
Root@ubuntu:~# curl-sSL https://get.daocloud.io/daotools/set_mirror.sh | sh-s http://4e70ba5d.m.daocloud.io root@ubuntu:~# cat / etc/docker/daemon.json {"registry-mirrors": ["http://4e70ba5d.m.daocloud.io"]} root@ubuntu:~#"
Restart the docker service
Root@ubuntu:~# service docker restart
Or
If you are using a telecom or Unicom network and find that docker pull is often only 3KB or even 2B (I have encountered it) per second, turn on your mobile 4G WIFI hotspot (without testing Unicom 4G or China Telecom 4G), and then connect it and re-execute it, chances are that you will be at full speed. For example, I am basically a 3M/s.
It has been tested in many base stations, and it works every time. It is suspected that the total exit has imposed restrictions on overseas traffic, while the overseas bandwidth on the mobile side may be more idle. Just doubt, there are people in the industry welcome to tell the inside story.
The above is all the contents of the article "how to solve the problem of slow docker pull mirroring". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.