-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 reporting significantly different do what docker stats reports #1577
Comments
Strange behavor... What is your python Docker lib version ? On my side:
|
|
My docker lib:
Could this be python 3 related? I am not sure which version is used to run Glances on my system. Any idea how do I check that?
|
Any update on this I am seeing this exact same wonky behavior. I am using glances in a docker container. And the memory values are vastly different 549MB from docker stats vs 21GB reported for the same container in Glances. UPDATE: Something of note on the memory side is that I see the same wrong number (~21GB) also being reported by cadvisor. Are you using the Docker API to get the value of container memory usage in bytes? |
I think the issue is with whcih value of stats you use from the docker python library. I just confirmed that getting the stats from it, the 'usage' returned is ~21GB. This was done inside the glances container using:
|
If I had to guess |
I am not sure if this is a bug or some other interpretation of the data, but it seems that there are multiple incorrect values regarding my docker containers.
Please see this attached screenshot:
On top is output of docker stats.
Issues I have noticed:
I do not have lsb_release, but I am running fully up to date Arch linux.
The text was updated successfully, but these errors were encountered: