podman-desktop icon indicating copy to clipboard operation
podman-desktop copied to clipboard

List of grouped images

Open brunomcuesta opened this issue 2 years ago • 6 comments

Description of the improvement

Hello! A big problem with Podman Desktop is the organization of the image list. I don't know which image belongs to which project. The main problem is generic images like library/python and library/nginx.

image

The same happens with the volume list. They could be grouped by project.

image

Possible solution

When something is installed, all images must be grouped together, this way the user will not delete an image that belongs to another project. It could be grouped, as was done with containers. It is necessary to better highlight this separation of images with colors. Maybe put softly colored borders on this grouping of images, volumes and containers.

image

The improvement idea of ​​removing all items from the group at once could also be included. An option "remove all volumes" from a group and "remove all images" from a group in the "actions" menu.

Thanks and best regards!

brunomcuesta avatar Oct 18 '23 22:10 brunomcuesta

@brunomcuesta thanks for the enhancement proposal. However, what you mean by project ?

jeffmaury avatar Oct 19 '23 15:10 jeffmaury

Hello @jeffmaury ! The project would be an application installed from a docker-compose.yml or Dockerfile. In the list of containers it appears as "compose".

image

Let's suppose I want to install two applications (projects), DefectDojo and reNgine. Podman Desktop could group the images and volumes of each one, this way the user would know which images and volumes are for each installed application. Thanks!

brunomcuesta avatar Oct 19 '23 16:10 brunomcuesta

When you run a compose project, it will run containers that can be associated with the compose project. But images are lazy loaded and they cannot be associated with the compose project

jeffmaury avatar Oct 20 '23 07:10 jeffmaury

There is a way to know by which container the images are used so there could be a view to display it in the reverse way but you might see in that case a single dummy container using httpd image and then this image being used inside the docker-compose-my-app application

so you might think you can safely delete the image httpd as it was used in a dummy container but it's still used by another app (as there is 1..n relationship)

benoitf avatar Oct 20 '23 07:10 benoitf

A lighter way to solve this might be, to allow the user to hover over the lit up icon (that indicates the image is being used) and have the list of containers / pods using the image... right now it just says "USED" -

Screenshot from 2023-10-21 20-24-49

The reason it's good to know which containers are using it, IIRC you cannot delete the image until you stop / delete the containers using it.

mairin avatar Oct 22 '23 00:10 mairin

This issue has been automatically marked as stale because it has not had activity in the last 6 months. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!

github-actions[bot] avatar May 01 '24 00:05 github-actions[bot]

This issue has been automatically closed because it has not had any further activity in the last 30 days. Thank you for your contributions!

github-actions[bot] avatar Jun 01 '24 00:06 github-actions[bot]