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

Feature Request: Ability to hide Engine and Pod columns in Containers #2423

Closed
blackthroat opened this issue May 20, 2023 · 2 comments
Closed

Comments

@blackthroat
Copy link

blackthroat commented May 20, 2023

Since all of my containers are Docker-based, the newly-added Engine and Pod columns do not provide any useful information in my environment. In result, those columns are taking up a lot of screen real estate when viewing the dashboard.

It would be great to have the ability to hide those columns by defining the visibility in a configuration file.

Referenced:
https://glances.readthedocs.io/en/latest/aoa/containers.html
https://raw.githubusercontent.com/nicolargo/glances/master/conf/glances.conf

@RazCrimson
Copy link
Collaborator

RazCrimson commented May 26, 2023

@blackthroat
Do you have any opinion on what do you think should be the default behavior when there is just one engine?

Say you just have one engine running, then in that case how about hiding the Engine field in that case?

We could probably have something similar for pod field where its hidden when there are no pods running.

Yours thoughts on this?

@blackthroat
Copy link
Author

@RazCrimson Thanks for asking. Perhaps the following default behaviors:

  • If all Engines are Docker, don't show Engine or Pod fields
  • If all Engines are Podman, don't show Engine or Pod fields
  • If Engines are mixed, show Engine field

In mixed environments, I can definitely see the value in knowing the Engine so that I can quickly determine which tool or method I will use to manage it. I use docker compose and Portainer to manage my Docker environment, so the container ID isn't something I ever pay attention to but rather I reference the container name.

I'm not familiar with Podman or managing the containers/pods, so I don't know how "useful" it is to have the Pod ID visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants