christianlempa-boilerplates/docker-compose/prometheus/exporters/cadvisor/docker-compose.yml
Horo 7bc27aa6f4
Update cadvisor to latest version - not using the latest tag
Since they don't update the latest tag... the latest tag is now 20 months old and it seems like they will/can not update it in the future...
Unsure what to do about that but for now I would just update the tag... ^^'
2022-08-11 05:00:29 +02:00

21 lines
637 B
YAML
Executable File

---
version: '3'
services:
cadvisor:
image: gcr.io/cadvisor/cadvisor:v0.45.0 # latest tag is not updated...
# https://github.com/google/cadvisor/issues/3066
# To manual check versions: https://github.com/google/cadvisor/releases
container_name: cadvisor
# ports:
# - "8080:8080"
volumes:
- /:/rootfs:ro
- /var/run:/var/run:ro
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
- /dev/disk/:/dev/disk:ro
devices:
- /dev/kmsg
restart: unless-stopped