The bow of a boat on water

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.

Na DNX Brasil, rabalhamos para trazer uma melhor experiência em nuvem e aplicações para empresas nativas digitais.

Trabalhamos com foco em AWS, Well-Architected Solutions, Containers, ECS, Kubernetes, Integração Contínua/Entrega Contínua e Malha de Serviços.

Estamos sempre em busca de profissionais experiêntes em cloud computing para nosso time, focando em conceitos cloud-native.

Confira nossos projetos open-souce em https://github.com/DNXLabs e siga-nos no Twitter, Linkedin or YouTube.

Tenha informações das últimas previsões e atualizações tecnológicas

 

Sem spam - apenas novidades, atualizações e informações técnicas.

Related Posts