aws-cli icon indicating copy to clipboard operation
aws-cli copied to clipboard

🐳 Publish Docker Image on ECR Public

Open bwagner5 opened this issue 5 years ago • 13 comments

Is your feature request related to a problem? Please describe.

DockerHub implemented rate limiting recently which can cause problems when using the aws-cli docker image from DockerHub.

Describe the solution you'd like ECR Public Registries were recently released which provides a free alternative to image pullers. https://gallery.ecr.aws/

The aws-cli docker image should be published to an ECR public registry and marked as verified.

There are currently several aws-cli's uploaded to ecr public that do not appear official (lacking any Usage instructions and does not include version tags). https://gallery.ecr.aws/?searchTerm=aws-cli

Describe alternatives you've considered N/A

Additional context N/A

bwagner5 avatar Dec 22 '20 17:12 bwagner5

Thanks for the feature request, @bwagner5. I agree having a verified image backed by AWS would help with user confidence in it's availability and stability especially with the recent changes to DockerHub.

kdaily avatar Dec 23 '20 18:12 kdaily

I would love to see this, I came here exactly because I couldn't find this image on the public ECR.

aittam avatar Feb 01 '21 15:02 aittam

Do we have any update on this?

davivcgarcia avatar Jul 21 '21 13:07 davivcgarcia

Thanks for the feature request, @bwagner5. I agree having a verified image backed by AWS would help with user confidence in it's availability and stability especially with the recent changes to Docker Hub.

@kdaily any movement on this? We've just started moving over to AWS Public Gallery instead of Docker Hub, and it doesn't speak well for AWS' confidence in AWS Public that its own images aren't on there.

emersonf avatar Dec 03 '21 12:12 emersonf

It's really surprising that the official AWS CLI tooling is not hosted on ECR Public! Is there any movement on this issue?

DragonStuff avatar Dec 14 '21 10:12 DragonStuff

@DragonStuff for better or worse, I'm using public.ecr.aws/aws-ec2/aws-node-termination-handler:v1.10.0 I had issues with the bitnami image (which btw bitnami is a highly respected community player, that image might work for you) but this works for me

rlewkowicz avatar Dec 16 '21 16:12 rlewkowicz

I lied, that didn't work for us. This honestly feels insane. Maybe I'm starting to feel entitled by the ease of public internet infrastructure, but this feel literally insane that I cannot find an official aws cli image from amazon on a non docker source

rlewkowicz avatar Dec 16 '21 21:12 rlewkowicz

Hi @rlewkowicz and @DragonStuff,

It's on the team's radar, but no ETA as to when it would be completed.

kdaily avatar Dec 16 '21 23:12 kdaily

@kdaily I'm failing to understand the reason as to why the aws-cli image isn't already published on public ECR. It's an AWS tool, so it should be accessible from an AWS registry, no? I see that Bitnami is a verified account and they've published an image, but I'd much prefer it to be published by AWS themselves.

Can you perhaps explain why it isn't already published to public ECR? If AWS's recommendation is to use the Bitnami published image, then it should say so in the official docs. (Even in the Bitnami image's About section they say: "The recommended way to get the Bitnami aws-cli Docker Image is to pull the prebuilt image from the Docker Hub Registry.")

This issue has been open for over a year!

KeenanLawrence avatar Feb 25 '22 12:02 KeenanLawrence

This is a very needed feature, I ended up creating my own custom image on a private ecr, but using an official AWS image would be obviously beneficial.

andreaschiappacasse avatar May 03 '22 08:05 andreaschiappacasse

FYI, you can use https://github.com/onfido/ecr-mirror to mirror any image, such as this one, into your private ECR repo. But in the case of this image I'd recommend building a custom one anyway. This image runs as root unnecessarily (issue just turned 2 years old), is pretty huge, and seems pretty minimally maintained.

jbg avatar May 03 '22 09:05 jbg

this is somthing that really should exist. mirroring this image is not something we want to maintain.

InbarRose avatar Jun 14 '22 13:06 InbarRose

Mind-boggling that Amazon does not publish their own images on their own registry.

moltar avatar Aug 13 '22 11:08 moltar

I noticed aws-cli docker image on ECR public registry by AWS that is marked Verified. https://gallery.ecr.aws/aws-cli/aws-cli

ji8k-fjt avatar Dec 08 '22 05:12 ji8k-fjt

Hi all - thanks for your patience. There is now documented support for an official AWS CLI v2 ECR Public image: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-docker.html (which can be found on ECR public via the link mentioned above). The team is planning to write a blog post soon for an official announcement on this.

Edit: here's the blog post announcement: https://aws.amazon.com/blogs/developer/new-aws-cli-v2-docker-images-available-on-amazon-ecr-public/

tim-finnigan avatar Dec 08 '22 18:12 tim-finnigan