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

Capability to sort/group images/containers in UI by more than just age #603

Closed
cmeyertons opened this issue Nov 1, 2018 · 4 comments
Closed

Comments

@cmeyertons
Copy link

It's sometimes hard to get a good understanding of what needs to be pruned, etc. on your machine by just looking at the Docker explorer UI as things can get quite jumbled with the age based sorting.

I (and maybe others too) would get a lot of value out of seeing an alphabetically sorted list (or at least alphabetical for the image name with tag still being age based).

This could be a user setting we flip on potentially.

An even better UI would be to have tags nested inside of image so there is a logical grouping.

@StephenWeatherford
Copy link
Contributor

@cmeyertons I share your frustration with this, so we appreciate your comments on what you would prefer instead.

@StephenWeatherford
Copy link
Contributor

From #565:
Currently in the images pane, it's only ordered by date and every image + tag combination get its own line item. In a typical use case, you don't really care to see all of the old tags.
It would be nice to have a tree view + see just the last built image of each image name and expanding that tree view shows all the tags for that image.

@StephenWeatherford
Copy link
Contributor

@cmeyertons What about images with hostname/port? I.e. would you want myimage:v1, myreg.azurecr.io/myimage:v1 and myusername/myimage:v1 to all be stored under a single name?

@cmeyertons
Copy link
Author

Definitely think tree view is the best direction to go.

My first impression is that myimage:v1 and myreg.azurecr.io/myimage:v1 would be better as separate top level nodes in the tree because it gives a natural order that is aligned with how docker has the image name constructed (registry -> image -> tag).

I think an important thing to call out again is that tags are still ordered by age, as alphabetical order is not really significant.

so ideally for me it would look like:

image1
- latest
- tag2
- tag1
myReg.azurecr.io/image1
- latest
- tag1

@StephenWeatherford StephenWeatherford added this to the 0.5.0 milestone Nov 14, 2018
@StephenWeatherford StephenWeatherford changed the title Capability to sort images / containers in UI by more than just age Capability to sort/group images/containers in UI by more than just age Mar 1, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants