docker镜像拉取加速

前提是我们在linux环境下安装好了docker,并且可以正常启动关闭。

但是当我们对镜像进行拉取的时候,会发现速度非常的慢,停在下面这个界面很久也不动

 1 [root@localhost ~]# docker pull mysql
 2 Using default tag: latest
 3 latest: Pulling from library/mysql
 4 0a4690c5d889: Already exists 
 5 98aa2fc6cbeb: Already exists 
 6 0777e6eb0e6f: Already exists 
 7 2464189c041c: Already exists 
 8 b45df9dc827d: Already exists 
 9 b42b00086160: Already exists 
10 bb93567627c7: Already exists 
11 b9125bcebe66: Already exists 
12 d263609b23c7: Downloading [=============================>                     ]  27.63MB/46.88MB
13 c9adffb2afb9: Download complete 
14 a555d31b3e6c: Download complete 
15 9524d219b6db: Download complete 

解决方法

我们可以进入阿里云的官网https://promotion.aliyun.com/ntms/act/kubernetes.html 

点击控制台

 

 

 

 点击镜像加速器后按文档步骤操作即可

 

posted @ 2020-05-01 10:09  你猜lovlife  阅读(379)  评论(0)    收藏  举报