Git镜像地址收集
编辑
33
2025-01-08
修改镜像源
tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": [
"https://docker.rainbond.cc",
"https://docker.hpcloud.cloud",
"https://docker.m.daocloud.io",
"https://docker.unsee.tech",
"https://docker.1panel.live",
"http://mirrors.ustc.edu.cn",
"https://docker.chenby.cn",
"http://mirror.azure.cn",
"https://dockerpull.org",
"https://dockerhub.icu",
"https://hub.rat.dev",
"https://proxy.1panel.live",
"https://docker.1panel.top",
"https://docker.m.daocloud.io",
"https://docker.1ms.run",
"https://docker.ketches.cn"
]
}
EOF
刷新镜像源
systemctl daemon-reload
重启 Doker
systemctl restart docker
注意:更换镜像源后,search 命令依旧不好使,想要测试直接 docker pull nginx
- 0
- 0
-
赞助
赞赏 -
分享