DockerHub domestic mirror settings

When I often encounter the docker pull xxx command, the timeout response is mainly because dockerHub is deployed on an overseas server, and domestic access is relatively slow.

First, test the DaoCloud accelerator , which can solve such problems. (requires registration)


The mirror address of each registered user is different, and the basic settings can follow the instructions on the official website.



2. It is also ok to use the official Chinese mirror provided by docker.

https://registry.docker-cn.com

If a certificate problem is prompted when adding, just replace https with http.


references:

Docker official documentation: https://docs.docker.com/registry/recipes/mirror/#use-case-the-china-registry-mirror

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326122241&siteId=291194637