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

List repositories inside a Docker Registry v2 #47

Closed
kwk opened this issue Jun 9, 2015 · 5 comments
Closed

List repositories inside a Docker Registry v2 #47

kwk opened this issue Jun 9, 2015 · 5 comments

Comments

@kwk
Copy link
Owner

kwk commented Jun 9, 2015

The frontend shows a list of all images inside a Docker Registry v2.

@kikicarbonell
Copy link

👍 I need it

@kwk
Copy link
Owner Author

kwk commented Jul 23, 2015

This could be a great additional resource for listing repos: https://github.com/docker/distribution/blob/master/docs/spec/api.md#listing-repositories

@binhex
Copy link

binhex commented Aug 13, 2015

+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.
@n3r0-ch
Copy link

n3r0-ch commented Jan 9, 2016

+1

@kwk
Copy link
Owner Author

kwk commented Jan 10, 2016

It works already

@kwk kwk closed this as completed Jan 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants