Show used port in container section
Is your feature request related to a problem? Please describe. Show which ports are being used in the containers section, on glances.
Describe the solution you'd like
Just adding a column and show the port is being used by each container, somewhat similar to when you do a $ docker ps command
This issue is stale because it has been open for 3 months with no activity.
containers[0].ports {'61208/tcp': [{'HostIp': '0.0.0.0', 'HostPort': '61208'}, {'HostIp': '::', 'HostPort': '61208'}], '61209/tcp': [{'HostIp': '0.0.0.0', 'HostPort': '61209'}, {'HostIp': '::', 'HostPort': '61209'}]}
Branch Show used port in container section #2054 includes a first version ok for one port but how to display it with multiples ports...
Also TODO: WebUI.
Done on the develop branch.
The default behave is to display ports instead of command.
It is possible to return to the previous behavor (display command and not ports) by using the Glances conf file:
[containers]
...
disable_stats=ports
...
Will be release in the target milestone.