google / cadvisor

Analyzes resource usage and performance characteristics of running containers.
Other
16.63k stars 2.29k forks source link

unable to find docker container when monitor docker container #3203

Open wackxu opened 1 year ago

wackxu commented 1 year ago

I write some golang code using cadvisor to monitor docker container, it works fine in some node but in some node it have errors

unable to find docker container “xxxx”

the only differ is that the docker version is different, one is installed with systemd the other is not. the cadvisor version is 0.45

I have turn the log level up to see what happend and found that the container info is destroyed in the cadvisor but the docker container is really running normal

image

wackxu commented 1 year ago

/help-wanted