Skip to content
Discussion options

You must be logged in to vote

Hi @janreinhardt

how do you run Glances ?

With the following command line:

docker run --rm -e TZ="${TZ}" -v /var/run/docker.sock:/var/run/docker.sock:ro -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro --pid host --network host -it nicolargo/glances:latest

The UI display the hostname:

You can also overwrite the message using the Glances configuration file:

[system]
# System information to display (a string where {key} will be replaced by the value)
# Available information are: hostname, os_name, os_version, os_arch, linux_distro, platform
system_info_msg= | My {os_name} system |

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@janreinhardt
Comment options

Answer selected by janreinhardt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants