Docker Hub
⚡ Active by Default
The hub registry module connects to Docker Hub to query container tags and manifest digests.
Zero-Config for Public Images
Public packages work out of the box with zero configuration. Configure this module to monitor private repositories or avoid anonymous rate limits.
⚙️ Configuration Variables
WUD_REGISTRY_HUB_PUBLIC_AUTH
Optionalstring
Direct Base64-encoded username:password string (as found in ~/.docker/config.json)
WUD_REGISTRY_HUB_PUBLIC_LOGIN
Optionalstring
Docker Hub account username
WUD_REGISTRY_HUB_PUBLIC_PASSWORD
Optionalstring
Docker Hub Personal Access Token (PAT) (recommended) or account password
WUD_REGISTRY_HUB_PUBLIC_SUPPRESSDIGESTWATCHWARNING
Optionalbooleandefault: false
Suppress warning logs when digest watching is enabled on unauthenticated connections
WUD_REGISTRY_HUB_PUBLIC_WATCHDIGEST
Optionalbooleandefault: false
Globally track image digests on Docker Hub to detect updates on mutable tags (e.g. latest)
🚀 Examples
Authenticate with Username & Personal Access Token
- Docker Compose
- Docker
services:
whatsupdocker:
image: getwud/wud
environment:
- WUD_REGISTRY_HUB_PUBLIC_LOGIN=mylogin
- WUD_REGISTRY_HUB_PUBLIC_PASSWORD=dckr_pat_xxxxxxxxxxxxxxxxxxxx
docker run \
-e WUD_REGISTRY_HUB_PUBLIC_LOGIN="mylogin" \
-e WUD_REGISTRY_HUB_PUBLIC_PASSWORD="dckr_pat_xxxxxxxxxxxxxxxxxxxx" \
getwud/wud
Enable Global Digest Watching
- Docker Compose
- Docker
services:
whatsupdocker:
image: getwud/wud
environment:
- WUD_REGISTRY_HUB_PUBLIC_WATCHDIGEST=true
docker run \
-e WUD_REGISTRY_HUB_PUBLIC_WATCHDIGEST="true" \
getwud/wud
📖 Setup Guide: Creating a Docker Hub Personal Access Token
- Log in to Docker Hub.
- Open your account avatar > Account Settings > Security (or Personal Access Tokens).
- Click New Access Token, name it
WUD, and set permissions to Read-only. - Copy the generated token (
dckr_pat_...) and set it asWUD_REGISTRY_HUB_PUBLIC_PASSWORD.
⏱️ Docker Hub Rate Limiting & Recommendations
Docker Hub enforces rate limits on anonymous and authenticated image pulls:
- Anonymous: 100 pulls / 6 hours per IP address.
- Authenticated (Free Tier): 200 pulls / 6 hours.
- Pro / Team: Unlimited.
Best Practices for Rate Limits
- Authenticate: Adding a free Docker Hub PAT instantly doubles your rate limit quota.
- Digest Watch Selectively: Rather than enabling global digest watching, apply the
wud.watch.digest=truelabel only to containers that truly need it.