diff --git a/book/src/framework/components/troubleshooting.md b/book/src/framework/components/troubleshooting.md index e44ebf557..26eb81c31 100644 --- a/book/src/framework/components/troubleshooting.md +++ b/book/src/framework/components/troubleshooting.md @@ -24,13 +24,18 @@ rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS hos Update your docker to `Docker version 27.3.1, build ce12230` -## Can't see any docker metrics with Cadvisor +## Can't see any Docker metrics with Cadvisor -Cadvisor container can't mount some layers +CPU/Memory metrics are not displayed on dashboards. + +Cadvisor container can't mount some layers. ``` E1209 13:14:49.908130 1 manager.go:1116] Failed to create existing container: /docker/aa40875c382af890861447fa8aaf6908978041b9077bb81029971d23929f8c4d: failed to identify the read-write layer ID for container "aa40875c382af890861447fa8aaf6908978041b9077bb81029971d23929f8c4d". - open /rootfs/var/lib/docker/image/overlayfs/layerdb/mounts/aa40875c382af890861447fa8aaf6908978041b9077bb81029971d23929f8c4d/mount-id: no such file or directory ``` +This can happen due to `Docker Desktop` updates, the issue is that the symlink to Docker socket is broken. + +#### Solution -Disable `containerd` images ( Settings -> General ), see [issue](https://github.com/google/cadvisor/pull/3569). +Disable and enable the option `Allow the default Docker socket to be used` again to relink it properly. -![img.png](img.png) +![cadvisor_socket.png](../images/cadvisor_socket.png) diff --git a/book/src/framework/images/cadvisor_socket.png b/book/src/framework/images/cadvisor_socket.png new file mode 100644 index 000000000..cd0fd297a Binary files /dev/null and b/book/src/framework/images/cadvisor_socket.png differ