Mirroring Docker Hub with AWS Public ECR
On December 1, 2020, Amazon announced ECR Public and ECR Public Gallery.
We at DNX Solutions are always looking to give support with the most updated AWS features to our clients, so we came up with the idea to create a mirror between Docker Hub and Amazon Public ECR.
The fastest way we found was creating a simple python script to automate the pull and push of a list of docker images declared. To make sure we were on the right path, we tested migrating all our images.
Running from an EC2 instance, this took around 10 hours, 26 repositories, 188 images, and more than 39 GB of data.
We are very passionate about the open-source culture and being mindful of the people who follow us. Click on the banner below to find the script with instructions on how to create the mirror.
At DNX Solutions, we work to bring a better cloud and application experience for digital-native companies in Australia. Our current focus areas are AWS, Well-Architected Solutions, Containers, ECS, Kubernetes, Continuous Integration/Continuous Delivery and Service Mesh. We are always hiring cloud engineers for our Sydney office, focusing on cloud-native concepts. Check our open-source projects at https://github.com/DNXLabs and follow us on Twitter, Linkedin or Facebook.
No spam - just releases, updates, and tech information.Stay informed on the latest
insights and tech-updates