-
Notifications
You must be signed in to change notification settings - Fork 284
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
Accurate reporting for host machine - when inside a docker container #49
Comments
If there was a way to get the pids associated with the container, one could pass them to |
Hi, thanks for the reply! I did try that strategy (getting the pids from ps and then passing them to ps_mem via is that safe to just mount the host's proc folder into a container? Or can you suggest precisely where to mount it to? |
You should be able to mount /proc and need it available |
i tried volumes:
- /proc/:/proc/ and got an error do you have another suggestion where to mount it and how to tell ps_mem where to look for it? |
You'll need to run the glances container with |
I was trying to use ps_mem inside a glances container to write logs in response to alerts.
The glances docker container that I ran ps_mem inside of has full access to the host and shows processes correctly. Unfortunately, ps_mem did not list the actual processes from the host.
Is there a trick to make this work as is? or would it be a feature request?
The text was updated successfully, but these errors were encountered: