-
Notifications
You must be signed in to change notification settings - Fork 609
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
List repositories inside a Docker Registry v2 #47
Milestone
Comments
👍 I need it |
This could be a great additional resource for listing repos: https://github.com/docker/distribution/blob/master/docs/spec/api.md#listing-repositories |
+1 |
kwk
added a commit
that referenced
this issue
Sep 3, 2015
We can now navigate forward through all images inside a v2 registry. The default page size is 10 but it can be changed to some other numbers as well. The unused repository selector files have been removed. The repository list directive was moved to the repository list html template for simplicity. The repository list no longer says that it searches for repos but filters repos on the current page. The bottom delete repos button has been removed in favor of more space for the pagination controls. The pagination works as described here: https://github.com/docker/distribution/blob/master/docs/spec/api.md#pagination We take the "Link:" header parameter from the response and extract portions of it to formulate the next request. As usual, each page is addressible via the URL. Note that when changing the number of repositories per page we have no other way but to go to page 1 and show at max the number of repositories selected. There's no way to find out how many repos are there so we cannot provide page links. Only forward navigation is possible.
Closed
+1 |
It works already |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The frontend shows a list of all images inside a Docker Registry v2.
The text was updated successfully, but these errors were encountered: