Copy container images from public repositories to ECR

I maintain a few container images and stored them in ECR. I use the images mostly to build my blogs (including this one), some tests with different container engines and compiling my programs. Since the task of copying the images from the public registry to my private ECR is pretty much the same every time, I’ve decided to automate it. Solution #1. Scripting The first solution consist of a bash script that uses aws cli and skopeo tools, this has the advantage of being really customizable and can be used everywhere, as long as those tools are installed.

Read More