Get the App
SLTechnology News&Howtos  ›  Development  › 

How to configure domestic Free registry mirror for Docker

Shulou Source: shulou.com Published: 2022-06-01 03:43:48 11月11日 Update

In this article, the editor introduces in detail "how to configure domestic free registry mirror in Docker". The content is detailed, the steps are clear, and the details are handled properly. I hope that this article "how to configure domestic free registry mirror in Docker" can help you solve your doubts.

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.

After reading this, the article "how to configure domestic free registry mirror with Docker" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it yourself to understand it. If you want to know more about related articles, welcome to follow the industry information channel.

Tags: Configuration articles images content users services proper special successful enthusiastic usage ideas files new knowledge methods more steps environment knowledge knowledge points Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Docker OPPO Reno Microsoft Redmi