Registry Sources
HubProxy uses the [registries] section for third-party registry upstreams and auth endpoints. Docker Hub always proxies to registry-1.docker.io and is not configured here.
Default Mappings
Section titled “Default Mappings”config.toml includes common registries:
[registries."ghcr.io"]upstream = "ghcr.io"authHost = "ghcr.io/token"authType = "github"enabled = true
[registries."gcr.io"]upstream = "gcr.io"authHost = "gcr.io/v2/token"authType = "google"enabled = true
[registries."quay.io"]upstream = "quay.io"authHost = "quay.io/v2/auth"authType = "quay"enabled = true
[registries."registry.k8s.io"]upstream = "registry.k8s.io"authHost = "registry.k8s.io"authType = "anonymous"enabled = trueauthType Values
Section titled “authType Values”| authType | Meaning |
|---|---|
anonymous |
Anonymous registry (e.g. registry.k8s.io) |
github |
GHCR auth endpoint |
google |
GCR auth endpoint |
quay |
Quay.io auth endpoint |
Pull Path Format
Section titled “Pull Path Format”# Docker Hub (no registry prefix; library and latest added automatically for official images)docker pull example.com/nginx
# Third-party registrydocker pull example.com/ghcr.io/owner/image:tagAlso supports containerd ns query parameter for configured registries.
Enable/Disable
Section titled “Enable/Disable”[registries."quay.io"]enabled = falseToken and Manifest Cache
Section titled “Token and Manifest Cache”[tokenCache] controls upstream auth token and manifest caching:
[tokenCache]enabled = truedefaultTTL = "20m"Digest refs cache for 24 hours; common tags like latest cache for 10 minutes. See config.toml Reference.