-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
Display total registry size in GB #334
Comments
Hi, thank you for using my project and submitting ideas.
If you're interested in the second alternative, let me know |
I came here looking at Docker Registry UI hoping to find a total size summary. This is the kind of thing I expected to find in a "simplest and most complete UI." I have been running Docker Registry Browser, which doesn't have this feature, and I find that it is not a very useful browser for me at all. I rarely want to browse the images and their details. Pretty much the only things I want to know are a summary of the overall storage, and if that's high then I want to be able to drill down into which images are excessively huge, and which ones have not been recently used so I can choose to delete them. Hoping to add clarity to the answer above.
Then there's the second alternative, the option of making the server component fetch the size/usage information through a new API. This could indeed be a new API added to the docker registry API, as suggested. As a simpler alternative, however, it could also be a simple admin-provided API (such as a script that is run) that returns the equivalent of "df" command output (disk free space: total, used, free) on the repository storage device. |
Hi, thank you for using my project and your feedback 😄 To be clear, "simplest and most complete UI" means it's a UI only project using all APIs from docker registry servers. It's simple because it's only static files served by NGINX, no need of a JVM or nodeJS or to bind the folder of your registry or anything... So if the official docker registry do not support something, I cannot bring it to the project. And it's the case for the registry size. When I'm building Open Source Projects as this one, I'm always thinking of my users and what they could have.
So my project must work on all those cases, I don't know if we can say a repo of +100k of images or thousands of tags by images are big repo or not, I will let you choose 😄 Don't get me wrong, this could be a nice addition and I wish to have it, but for now, I will not add Θ(m*n) requests to a project that is supposed to be "simple" each time we go to the home page. I may do some tests just in case but without warranties. Maybe with some sponsorship I could work on a side API project. We need to remember that the registry server support many storage: filesystem, s3, gcs and azure |
Is your feature request related to a problem? Please describe.
It is nice to know when I am approaching storage limits of my registry
Describe the solution you'd like
I would like a simple text or graphic to display how much space all my images are taking up.
It would be cool to see overall registry size as well as size by each image section.
The text was updated successfully, but these errors were encountered: