How do you set up a pull-through cache for Docker Hub?
IntermediateProductionRegistries, Tagging & Supply Chain
Answer
Run registry:2 with proxy.remoteurl: https://registry-1.docker.io (plus credentials), or use ECR/Harbor proxy features, then point daemons at it:
{ "registry-mirrors": ["https://mirror.internal.example.com"] }
The registry-mirrors setting only applies to Docker Hub pulls; other registries need explicit prefixed names or containerd hosts.toml mirrors.
More on Registries, Tagging & Supply Chain
What is a good image tagging strategy for production?BeginnerWhy is deploying by digest better than by tag?IntermediateHow do you enable immutable tags and lifecycle rules in ECR?IntermediateHow does ECR handle scanning and replication?IntermediateHow do you give an EKS node or CI job access to ECR with least privilege?IntermediateDocker Hub vs ECR vs GHCR vs Harbor: how do you choose?Intermediate