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

ECR: Not supported because n parameter of list_images to high

Open theCapypara opened this issue 4 years ago • 4 comments

Right now ECR registries are not supported, because the "n" parameter of the image listing request is too high.

This is the error message: {"errors":[{"code":"UNSUPPORTED","message":"Invalid parameter at 'maxResults' failed to satisfy constraint: 'Member must have value less than or equal to 1000'"}]}

theCapypara avatar Sep 26 '19 22:09 theCapypara

ECR Registry doesn't have any clean up functionality?

andrey-pohilko avatar Sep 28 '19 09:09 andrey-pohilko

Yes I also noticed this after manually changing the limit (although I found it weird that it is not explained in the AWS docs that deleting repositories via the Docker API does not work, but of course that's no issue of registry-cli).

I guess it would still be nice to use registry-cli to list images in ECR repositories though.

theCapypara avatar Sep 28 '19 21:09 theCapypara

Please correct me if I'm wrong. Does this message from AWS mean that you have more than 1000 images in your repository there?

andrey-pohilko avatar Dec 18 '19 09:12 andrey-pohilko

No, ECR complains that the limit parameter used is too high. Lowering it below 1000 works. We only have a couple images.

theCapypara avatar Dec 19 '19 14:12 theCapypara