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
Docker memory usage is incorrect #2637
Comments
Glances displays the stats returned by the https://github.com/docker/docker-py library. As you can see in this screenshot, the Glances value (1.55 MB is ~ to the one given by Docker-Py 1.6 MB). Do not know what is the value returned by "docker stats"... |
I just open an issue on the upper lib: docker/docker-py#3210 |
Thank you! |
Have to algorithm inside Glances because Docker-Py return the stats "as it". So the following computation will be added under the wood: usage - inactive_file. |
Branch 2637-docker-memory-usage-is-incorrect to be tested and merged into develop. |
Describe the bug
Docker memory usage is incorrect, while comparing the glances and the
docker stats
command at the same time.To Reproduce
Steps to reproduce the behavior:
docker stats
commandExpected behavior
It should be the same or very similar.
Screenshots
Environement (please complete the following information)
The text was updated successfully, but these errors were encountered: