加速地址
https://ghcr-p.trfox.top
# 原始命令
docker pull ghcr.io/org/image:tag
# 加速命令(替换 ghcr.io 为你的加速域名)
docker pull ghcr-p.trfox.top/org/image:tag
# /etc/docker/daemon.json
{
"registry-mirrors": ["https://ghcr-p.trfox.top"]
}
# 重启 Docker
systemctl restart docker
# 将 image: ghcr.io/xxx/yyy:tag
# 改为 image: ghcr-p.trfox.top/xxx/yyy:tag