podman-desktop
podman-desktop copied to clipboard
List of grouped images
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.
The same happens with the volume list. They could be grouped by project.
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.
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 thanks for the enhancement proposal. However, what you mean by project ?
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".
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!
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
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)
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" -
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.
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!
This issue has been automatically closed because it has not had any further activity in the last 30 days. Thank you for your contributions!