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

registry-cli doesn't work with registry 2.8.2 #112

Open
Sandelinos opened this issue Jun 5, 2023 · 0 comments · May be fixed by #113 or #121
Open

registry-cli doesn't work with registry 2.8.2 #112

Sandelinos opened this issue Jun 5, 2023 · 0 comments · May be fixed by #113 or #121

Comments

@Sandelinos
Copy link

registry.py -l user:password -r https://my-registry.tld with a 2.8.2 registry returns nothing.

with --debug:

[debug][funcname]: get_auth_schemes()
[debug][docker] Auth schemes found:['basic']

Checking with curl -u user:password 'https://my-registry.tld/v2/_catalog?n=10000 returns:

{"errors":[{"code":"PAGINATION_NUMBER_INVALID","message":"invalid number of results requested","detail":{"n":10000}}]}

This is caused by this commit where registry added a configurable limit of entries returned from /v2/_catalog that defaults to 1000.

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