简体   繁体   中英

Cadvisor "mountpoint for cpu not found"

I ran Cadvisor with the below config but the container restarted!

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
    ...

Error is:

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

You should change your base image to gcr.io/cadvisor/cadvisor

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM