Closed benw10-1 closed 8 months ago
@benw10-1 I had this exact issue and I discoved that I was using gcr.io/cadvisor/cadvisor:latest
- which is not the latest version, it's from 2020. What worked for me was using gcr.io/cadvisor/cadvisor:v0.47.2
instead; now everything work fine.
OS: AWS Linux 2023.2.20231113 Docker Version: 24.0.5 cAdvisor Image:
cadvisor:latest
Launch cmd:
docker logs ...
output:Assuming it's an issue with AWS Linux 2023 using
cgroup
v2 instead of v1. Not completely sure though, as it could be specific to AWS Linux 2023 or I could be missing something obvious.When looking for the
cpu
folder I could not find it at the correct spot.On prev. OS (AWS Linux 2), the
cpu
folder was here:But now on AWS Linux 2024 it looks like:
Seems like my volume mapping is just wrong, but now do I have to map all these files individually or something?
(sanity check):
Note that downgrading to
cgroup
v1 is not really an option.