Comments (6)
I already managed that. sorry for this "stupid" question.
from docker-registry-browser.
Wouldn't it be nice if manifests/images without any tags are hidden on the WebGUI?
Currently the only way to remove empty manifests is to delete the folders in the repository's filesystem.
On redis it would be more complicated...
from docker-registry-browser.
I agree it would be much nicer to don't show them.
The issue currently is that I don't have the information if an image has any tags in the API call I am doing on the list view. In order to implement that I'd have to do an additional call per image in the list which isn't the best idea.
from docker-registry-browser.
A workaround I was using in our private registry was running the garbage collection in a cronjob. This of course did not solve the "empty" images shown in the UI ad-hoc but at least after the next GC run they were gone.
See: https://docs.docker.com/registry/garbage-collection/
from docker-registry-browser.
Sure, GC is a must have. But handling the view of empty images/manifests should be an option.
Why isn't it a good idea to do additional call for every image? Its just a json what you're asking for. If it's empty, no tags... Sure, in case of a slow repo, it makes your app slower but much more comfortable.
As I said, you can make it optional to let the useres do the choice.
from docker-registry-browser.
Why isn't it a good idea to do additional call for every image? Its just a json what you're asking for.
I'm just thinking about a registry with a lot of images. Currently the registry browser will show up to 100 of them per page. So in this case we'd have 101 API calls to just show one single list of images. Those API calls could be partially parallelized I assume but still this could take (to) long to render the page - maybe something one could test to see if it's just a theoretical issue.
Another issue is the mentioned pagination. If we filter out empty images on application side instead of having the API to exclude them we can't have a predictable behavior about how many images are shown on one "page".
In general I'd love to give it a try and implement it to see how it behaves but it's always a concern of time. I'll keep this as a feature request around and if someone would like to help I'm happy to accept pull requests.
from docker-registry-browser.
Related Issues (20)
- add a more compact "skin"
- Web UI Login HOT 2
- read/write support by nginx
- Can't browse OCI images HOT 6
- cannot delete tags with cesanta/docker_auth HOT 6
- No Java Script Runtime in Container HOT 12
- ExecJS can't find a runtime HOT 23
- Document using the app in a subPath HOT 1
- Version sorting HOT 1
- This crashes on my server HOT 3
- Tag list cannot be configured to sort by `version` HOT 1
- add sort by push date HOT 1
- Cannot read *.key file in 1.6.0 docker image HOT 4
- Error with multi-platform images HOT 10
- Token based auth with Keycloak as IDP HOT 6
- Third page is not loaded HOT 4
- Error Displaying Tag Info HOT 1
- no reply to browser when using token authentication via keycloak HOT 8
- Feature request - Policy to remove Old image HOT 1
- Can't run browser container HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-registry-browser.