Cadvisor“找不到 cpu 的安装点”

问题描述 投票:0回答:2

我使用以下配置运行 Cadvisor,但容器重新启动!

cadvisor:
    image: google/cadvisor:v0.33.0
    volumes:
      - /:/rootfs:ro
      - /var/run:/var/run:ro
      - /sys:/sys:ro
      - /var/lib/docker/:/var/lib/docker:ro
      - /dev/disk/:/dev/disk:ro
    depends_on:
      - redis
    ...

错误是:

F0117 09:19:19.566897       1 cadvisor.go:152] Failed to create a Container Manager: mountpoint for cpu not found
F0117 09:19:20.741998       1 cadvisor.go:152] Failed to create a Container Manager: mountpoint for cpu not found
docker prometheus monitoring cadvisor
2个回答
3
投票

您应该将基本图像更改为 gcr.io/cadvisor/cadvisor


0
投票

为什么 google/cadvisor 没有用?

© www.soinside.com 2019 - 2024. All rights reserved.