Skip to content

Commit 17ca79b

Browse files
authored
update troubleshooting for Docker symlink (#2289)
1 parent 9dd7229 commit 17ca79b

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

book/src/framework/components/troubleshooting.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,18 @@ rosetta error: Rosetta is only intended to run on Apple Silicon with a macOS hos
2424

2525
Update your docker to `Docker version 27.3.1, build ce12230`
2626

27-
## Can't see any docker metrics with Cadvisor
27+
## Can't see any Docker metrics with Cadvisor
2828

29-
Cadvisor container can't mount some layers
29+
CPU/Memory metrics are not displayed on dashboards.
30+
31+
Cadvisor container can't mount some layers.
3032
```
3133
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
3234
```
35+
This can happen due to `Docker Desktop` updates, the issue is that the symlink to Docker socket is broken.
36+
37+
#### Solution
3338

34-
Disable `containerd` images ( Settings -> General ), see [issue](https://github.com/google/cadvisor/pull/3569).
39+
Disable and enable the option `Allow the default Docker socket to be used` again to relink it properly.
3540

36-
![img.png](img.png)
41+
![cadvisor_socket.png](../images/cadvisor_socket.png)
295 KB
Loading

0 commit comments

Comments
 (0)