右键右下角 docker的托盘图标,依次打开 Setings >> Docker Engine,在Docker Engine里配置如下内容,
{
"registry-mirrors": [
"https://registry.docker-cn.com",
"http://hub-mirror.c.163.com",
"https://docker.mirrors.ustc.edu.cn"
],
"insecure-registries": [],
"debug": true,
"experimental": false
}
然后点击右边的”Apply & Restart” 按钮保存与重新docker。
Docker中国区官方镜像地址: https://registry.docker-cn.com
网易地址: http://hub-mirror.c.163.com
中国科技大学地址: https://docker.mirrors.ustc.edu.cn