christianlempa-boilerplates/docker-compose/prometheus/exporters/cadvisor/docker-compose.yml
Christian Lempa 61dc7d6a35 issue #45 fix
2022-05-19 15:10:35 +02:00

18 lines
382 B
YAML
Executable File

---
version: '3'
services:
cadvisor:
image: gcr.io/cadvisor/cadvisor:latest
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