Registry and source proxy

GitWarp

快速使用

把当前站点域名加到镜像名前面,然后照常执行 Docker pull。

当前域名/alpine:latest
当前域名/library/nginx:latest
当前域名/ghcr.io/owner/image:tag

GitHub 下载

在 Raw 文件、codeload 源码包或 Release 附件地址前加上当前站点域名。

当前域名/raw.githubusercontent.com/owner/repo/main/path/to/file
当前域名/codeload.github.com/owner/repo/zip/refs/heads/main
当前域名/github.com/owner/repo/releases/download/v1.0.0/asset-name

Registry 路径

Docker Hub 默认走根路径,其他 registry 保留原始 host。

Docker Hub 当前域名/alpine:latest
GHCR 当前域名/ghcr.io/owner/image:tag
Quay 当前域名/quay.io/prometheus/prometheus:latest
Kubernetes 当前域名/registry.k8s.io/pause:3.9
MCR 当前域名/mcr.microsoft.com/dotnet/runtime:8.0
ECR Public 当前域名/public.ecr.aws/nginx/nginx:latest

Docker Hub Mirror

也可以把当前站点设置成 Docker Hub registry mirror。

{
  "registry-mirrors": ["https://当前域名"]
}