Skip to content

Files

Latest commit

6154daa · May 26, 2022

History

History
32 lines (26 loc) · 897 Bytes

README.md

File metadata and controls

32 lines (26 loc) · 897 Bytes

registry-proxy

GitHub stilleshan/dockerfiles
Docker stilleshan/registry-proxy

docker image support for X86 and ARM

简介

代理 ghcr.io / gcr.io / k8s.gcr.io 等镜像仓库的 registry proxy 镜像.

使用

docker

环境变量PROXY_REMOTE_URL:

docker run -d --restart always \
    -v /data/path:/var/lib/registry\
    -p 5000:5000 \
    -e PROXY_REMOTE_URL=https://ghcr.io \
    stilleshan/registry-proxy

docker compose

下载 docker-compose.yml 执行以下命令启动:

docker-compose up -d

参考