Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECR: Not supported because n parameter of list_images to high #79

Open
theCapypara opened this issue Sep 26, 2019 · 4 comments
Open

ECR: Not supported because n parameter of list_images to high #79

theCapypara opened this issue Sep 26, 2019 · 4 comments

Comments

@theCapypara
Copy link

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'"}]}

@andrey-pohilko
Copy link
Owner

ECR Registry doesn't have any clean up functionality?

@theCapypara
Copy link
Author

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.

@andrey-pohilko
Copy link
Owner

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

@theCapypara
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants