docker pull is too slow to freeze

Sometimes when we pull the mirror, it is always very slow. At this time, the answer on the Internet is to change the address of the mirror to registry.docker-cn.com to improve the speed of pulling the mirror

{ “registry-mirrors”: [“http://registry.docker-cn.com”] }

Mirror acceleration
In view of domestic network problems, the subsequent pull of Docker images is very slow, we can need to configure an accelerator to solve, I use the NetEase mirror address: http://hub-mirror.c.163.com.

The new version of Docker uses /etc/docker/daemon.json (Linux) or% programdata% \ docker \ config \ daemon.json (Windows) to configure Daemon.

Please add in the configuration file (if there is no such file, please create one first):

{
“registry-mirrors”: [“http://hub-mirror.c.163.com”]
}

————————————————
Copyright Statement: This article is an original article of CSDN blogger "Talent and Beauty CC", following the CC 4.0 BY-SA copyright agreement, please attach the original source link and reprint This statement.
Original link: https://blog.csdn.net/qq_20906903/article/details/93617309

150 original articles published · 79 praised · 630,000 views +

Guess you like

Origin blog.csdn.net/liu0808/article/details/105298815