Skip to content

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.

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 = true
authType Meaning
anonymous Anonymous registry (e.g. registry.k8s.io)
github GHCR auth endpoint
google GCR auth endpoint
quay Quay.io auth endpoint
Terminal window
# Docker Hub (no registry prefix; library and latest added automatically for official images)
docker pull example.com/nginx
# Third-party registry
docker pull example.com/ghcr.io/owner/image:tag

Also supports containerd ns query parameter for configured registries.

[registries."quay.io"]
enabled = false

[tokenCache] controls upstream auth token and manifest caching:

[tokenCache]
enabled = true
defaultTTL = "20m"

Digest refs cache for 24 hours; common tags like latest cache for 10 minutes. See config.toml Reference.