portainer / portainer

Making Docker and Kubernetes management easy.
https://www.portainer.io
zlib License
30.65k stars 2.46k forks source link

Group/Hide stacks in container panel #6309

Closed Thalhammer closed 1 year ago

Thalhammer commented 2 years ago

Is your feature request related to a problem? Please describe. I have a docker server running stacks of a highly splitted microservice application where each stack has somewhere between 10 and 50 containers. However the same host also runs non stack containers (e.g. portainer, git server, ci server...). Since stack containers are also visible in the stacks panel, it would be useful to have an option on the normal container view that allows collapsing all containers of a stack to a single entry and/or hide containers that belong to a stack completely.

Describe the solution you'd like Provide a checkbox that allows hiding containers that belong to a stack from the ui, or groups them to a single entry per stack.

Describe alternatives you've considered Search doesn't cut it.

SIMULATAN commented 2 years ago

+1 For me personally, the way how Docker Desktop implemented this feature is quite nice: Docker Desktop Stack grouping Such a dropdown would enable you to manage containers far quicker than by manually searching for the stacks in the stacks panel. Also, with this type of grouping, the "stack" column in the container overview would become obsolete, enabling other information to take the space.

leisefuxX commented 2 years ago

addition: make the icon of the stack change it's color:

red: whole stack not running yellow: one or more container in stack not running / unhealthy green: all containers in stack are running / healthy

working with more than a few stacks and dozens of containers within each stack, such a feature would be nice. it would unclutter the ui and would give more informations to the technician. @SIMULATAN already mentioned: the stack column in the container overview would become obsolete and would be replaced with states of the stack as colors, which is quicker to read and more handy as in more user friendly / better UX through better UI (: