Если вы видите что-то необычное, просто сообщите мне. Skip to main content

Docker registry mirror

mkdir -p ./containers-registry-proxy/cache
mkdir -p ./containers-registry-proxy/certs

podman run --rm --detach --name containers-registry-proxy
\ --publish 0.0.0.0:3128:3128
\ --env ENABLE_MANIFEST_CACHE=true
\ --env REGISTRIES="quay.io gcr.io k8s.gcr.io ghcr.io mcr.microsoft.com registry.gitlab.com"
\ --volume "$(pwd)/containers-registry-proxy/cache":/docker_mirror_cache
\ --volume "$(pwd)/containers-registry-proxy/certs":/ca
\ rpardini/docker-registry-proxy:0.6.4