Mirroring Docker Hub with AWS Public ECR

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 and Data Solutions (movement, transformation, lakes, warehouses and analytics).

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 Linkedin or Facebook.

Stay informed on the latest
insights and tech-updates

No spam - just releases, updates, and tech information.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *