Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Detailed explanation of Docker configuration domestic free registry mirror

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Due to the special domestic network environment, often we pull the image from the Docker Hub can not be successful, and the speed is very slow.

Then we can configure a domestic registry mirror for docker. When the image we need is in mirror, it will be returned directly, and if not, it will be pulled from Docker Hub. Whether or not to use registry mirror is transparent to Docker users.

DaoCloud provides the first Docker Hub image service in China, and it is free of charge, which greatly increases the enthusiasm of domestic Docker users. Thank you DaoCloud very much.

Usage

Modify the Docker configuration file / etc/default/docker as follows:

DOCKER_OPTS= "--registry-mirror= http://aad0405c.m.daocloud.io"

Restart the Docker service using service docker restart.

Now using docker pull to pull the image is really cool and fast, thanks again to DaoCloud.

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: 212

*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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report