Docker镜像加速说明

PV
|
UV

🐔 🐟 CF worker&Pages 搭建

为了加速镜像拉取,使用以下命令设置registry mirror


sudo tee /etc/docker/daemon.json <<EOF
{
    "registry-mirrors": ["https://zays.eu.org"]
}
EOF

sudo systemctl daemon-reload

sudo systemctl restart docker

用法:

原拉取镜像命令:


docker pull library/alpine:latest

加速拉取镜像命令:


docker pull zays.eu.org/library/alpine:latest
Copyright ©2024 至少还有你
|
觉得不错 点此赞赏
|
Powerd By CloudFlare