In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Docker domestic image
DaoCloud-Docker Accelerator Aliyun-developer platform Micro Mirror-Xiyun cSphere Mirror Square-Speed Yunling Finch Cloud NetEase Honeycomb
Aliyun's Docker Accelerator
Aliyun-developer platform: https://dev.aliyun.com/
Ali Cloud-Container Hub Service console: https://cr.console.aliyun.com/
After registering and logging in to Aliyun-developer platform, click "create my Container Image" on the home page, and then you will come to Aliyun's services panel. Click the Accelerator tab.
Enter the password you need to use when logging in to Docker according to the prompt (which can be changed later). The user name is the user name of logging in to Aliyun.
On the page that appears, you can get a dedicated image acceleration address, similar to "https://1234abcd.mirror.aliyuncs.com"."
Configure your own Docker accelerator according to the operating documentation information on the page.
Alternatively, after logging in to the Aliyun-Container Hub service console, click the Accelerator tab, and the corresponding information will appear.
Take CentOS as an example:
CentOS
Install or upgrade Docker
You can download mirrors.aliyun.com/help/docker-engine from Aliyun's image repository.
The copy code is as follows:
Curl-sSL http://acs-public-mirror.oss-cn-hangzhou.aliyuncs.com/docker-engine/internet | sh-
Configure Docker Accelerator
You can use the following script to add the configuration of mirror to the startup parameters of docker daemon.
# the system requires more than CentOS 7 and more than Docker 1.9. Sudo cp-n / lib/systemd/system/docker.service / etc/systemd/system/docker.servicesudo sed-I "s | ExecStart=/usr/bin/docker daemon | ExecStart=/usr/bin/docker daemon--registry-mirror= https://1234abcd.mirror.aliyuncs.com|g" / etc/systemd/system/docker.servicesudo systemctl daemon-reloadsudo service docker restart
Use of other Docker domestic images
Roughly equivalent to Aliyun's Docker accelerator, the main link is the following three steps:
1. Register your account and get your own image acceleration address.
two。 Upgrade, configure, and restart Docker according to the prompts and system type.
3. In practice, verify that the configuration is correct.
Manually configure Docker Accelerator
The essence of configuring the Docker accelerator is to change the image download address in the Docker configuration file from the default Docker Hub address to the acceleration address of the domestic image.
/ lib/systemd/system/docker.service/etc/systemd/system/docker.service
For example: CentOS7
Add the following to the Docker configuration file / etc/sysconfig/docker, and then restart docker.
OPTIONS=--registry-mirror= http://abcd1234.m.daocloud.io
The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.
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.