-
-
Notifications
You must be signed in to change notification settings - Fork 506
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
BUG? docker stats don't show the mem usage? #1390
Comments
Thanks for the report 👍 May be a limitation with RPi (kernel) and/or issue with Docker binary itself. As I have zero experience with Docker, I'll open up for investigations. |
@kevinshane |
@Fourdee Thanks man, also I try to install the raspbian lite and it reports correctly, the kernel is oh btw, I do tested with Stretch, it won't shows the mem usage either unfortantly :(
|
just want to report that this issue still remains the same in v6.1
the MEM% and MEM USAGE and NET I/O always says 0 |
@kevinshane @Fourdee |
@Fourdee @kevinshane
Indeed, no memory cgroup on Jessie:
On Stretch:
Further check, the cgroup exists on Jessie, but is actively disabled:
This can be set via boot cmd line parameter. Nothing found in /etc/default/grub, but:
On Stretch this is not the case:
... https://serverfault.com/a/801259 🈯️ Add
So works, but I am wondering what the memory cgroup might have for side effects. Why is it disabled by default on Jessie images? |
Could be a limitation with 3.x kernel, or, it was simply a new addition that wasn't set by default due a decision by Debian. Either way. As this is an external issue, with workaround available, and, Stretch is our current supported platform, we should mark this as closed.
Yep, will move it to https://github.com/Fourdee/DietPi/issues/1928 |
Creating a bug report/issue:
Required Information:
Additional Information (if applicable):
after install docker, just pull anything and run
docker stats
, it won't show mem usage and I/OExpected behaviour:
should show the memory usage for each container
also I've tested the vmware dietpi os(amd64), it shows
Actual behaviour:
Steps to reproduce:
Did you submit a
dietpi-bugreport
?Extra details:
The text was updated successfully, but these errors were encountered: