How do you mirror public images into a private registry in bulk?
IntermediateProductionRegistries, Tagging & Supply Chain
Answer
Define a list in Git and run a scheduled job with skopeo sync or crane copy (or Harbor replication rules), scanning and signing before marking approved.
skopeo sync --src docker --dest docker docker.io/library/nginx reg.example.com/mirror/
Then policy-restrict clusters to reg.example.com/mirror/*.
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