Docker 添加国内镜像源
windows 版
Step1 打开 Docker for windows
{
"registry-mirrors": [
"https://7bezldxe.mirror.aliyuncs.com/",
"https://docker.mirrors.ustc.edu.cn/",
"https://hub-mirror.c.163.com",
"https://registry.docker-cn.com"
],
"insecure-registries": [],
"debug": false,
"experimental": false,
"features": {
"buildkit": true
}
}
Linux 版
Step1 创建配置文件
vi /etc/docker/daemon.json
然后将上述 json 输入
step2 重启 docker 服务
systemctl restart docker
标签:切换,https,镜像,Docker,com,docker
From: https://www.cnblogs.com/anyview/p/17032495.html