Open zeigerpuppy opened 6 years ago
The volumes look correct... I bet it is related to this limitation. You are trying to mount in /dev/...
, which clearcontainers doesn't support.
I am getting this same error message. here is the relevant portion of my docker-compose
cadvisor:
image: google/cadvisor:latest
container_name: monitoring_cadvisor
restart: unless-stopped
devices:
- "/dev/kmsg:/dev/kmsg"
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /var/run/docker.sock:/var/run/docker.sock:rw
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
- /dev/disk/:/dev/disk:ro
expose:
- 8080
ports:
- 8085:8080
Here is the error I get:
monitoring_cadvisor | F0424 20:46:33.869962 1 cadvisor.go:146] Failed to create a Container Manager: mountpoint for cpu not found
monitoring_cadvisor exited with code 255
any ideas?
Try replacing image by gcr.io/cadvisor/cadvisor
Try replacing image by
gcr.io/cadvisor/cadvisor
I had same issue, and this solved!
Try replacing image by
gcr.io/cadvisor/cadvisor
This helped solve mine too. Thanks
I had problem with pulling image from gcr.io/cadvisor/cadvisor
because this resourse is not allowed on our proxy.
So I pulled image on another server, transfer it to taget server and run the container. It solved my problem as well.
Thanx!
After changing to gcr.io/cadvisor/cadvisor
I get next error:
W1026 14:24:19.027828 1 manager.go:159] Cannot detect current cgroup on cgroup v2
FIX: Use a version tag like gcr.io/cadvisor/cadvisor:v0.46.0
oh,gcr.io/cadvisor/cadvisor maybe can solve the problem,but i can't pull this image in china,has anyone as same as me?error message: ⠿ cadvisor Error 1.7s Error response from daemon: Head "https://gcr.io/v2/cadvisor/cadvisor/manifests/latest": Get "https://gcr.io/v2/token?scope=repository%3Acadvisor%2Fcadvisor%3Apull&service=gcr.io": EOF
Try replacing image by gcr.io/cadvisor/cadvisor
This issue is fixed and needs to be closed, isn't it?
Intente reemplazar la imagen por
gcr.io/cadvisor/cadvisor
En efecto esto soluciono mi problema
Try replacing image by
gcr.io/cadvisor/cadvisor
it solve my probleme !!!
Try replacing image by
gcr.io/cadvisor/cadvisor
This helped me.
gcr.io/cadvisor/cadvisor:v0.46.0
Thank you, this solved my problem
I am attempting to run cadvisor on Debian Stretch (without systemd). My docker setup is using clearcontainers and a backend with block-based sparse LVM storage (layered onto ZFS). Everything is functioning well with a broad range of containers.
When I try to start cadvisor, it gives the following log output:
I think this may be to do with some difficulties in accessing the volume for
/sys
, perhaps it is not permitted to be shared in this way...My
docker-compose.yml
is as follows: