christianlempa-boilerplates/docker-compose/cadvisor/docker-compose.yaml

18 lines
414 B
YAML
Raw Normal View History

2022-01-02 12:37:45 +01:00
---
services:
cadvisor:
2023-05-25 14:26:13 +02:00
image: gcr.io/cadvisor/cadvisor:v0.47.0
2022-01-02 12:37:45 +01:00
container_name: cadvisor
2022-11-17 09:14:23 +01:00
ports:
- "8080:8080"
2022-08-15 16:41:43 +02:00
network_mode: host
2022-01-02 12:37:45 +01:00
volumes:
- /:/rootfs:ro
- /var/run:/var/run:ro
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
- /dev/disk/:/dev/disk:ro
devices:
2022-01-07 13:17:13 +01:00
- /dev/kmsg
2023-05-25 14:26:13 +02:00
privileged: true
restart: unless-stopped