Sunday, May 4th, 2025

DockerHub镜像无法下载解决方案

Docker镜像加速站
为了加速镜像拉取,使用以下命令设置registry mirror 支持系统:Ubuntu 16.04+、Debian 8+、CentOS 7+
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<EOF
{
“registry-mirrors”: [
“https://hub.uuuadc.top”,
“https://docker.anyhub.us.kg”,
“https://dockerhub.jobcher.com”,
“https://dockerhub.icu”,
“https://docker.ckyl.me”,
“https://docker.awsl9527.cn”
]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注