1、点击docker图标的“Preferences”,进入设置
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200607104638247.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2RhbWFuY2hlbg==,size_16,color_FFFFFF,t_70)
2、点击“Docker Engine”;
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200607104542400.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2RhbWFuY2hlbg==,size_16,color_FFFFFF,t_70)
3、在右侧框中输入如下内容;
"registry-mirrors": [
"https://docker.mirrors.ustc.edu.cn",
"https://hub-mirror.c.163.com"
]
4、点击按钮 Apply & Restart 重启即可
在终端输入命令
docker info
看到如下信息就说明配置成功:![在这里插入图片描述](https://img-blog.csdnimg.cn/20200607111056680.png)
参考:https://zhuanlan.zhihu.com/p/109485448