Replies: 1 comment 1 reply
-
By default, Docker denies access to the host process. As said in the documentation, you have to add the --pid host option to your command line. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
docker run \ -d \ --restart always \ --name glances \ -p 61208:61208 \ -p 61209:61209 \ -v /var/run/docker.sock:/var/run/docker.sock:ro \ -e GLANCES_OPT="-w" \ docker.io/nicolargo/glances:ubuntu-latest-full
Expected behavior
See a list of running processes, like shown here:
Screenshots
Environement (please complete the following information)
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy
Glances v3.4.0.3 with PsUtil v5.9.7 Log file: /tmp/glances-root.log
Docker
Beta Was this translation helpful? Give feedback.
All reactions