Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions book/src/framework/components/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Binary file added book/src/framework/images/cadvisor_socket.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading