mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-12-13 02:30:57 +01:00
18 lines
373 B
YAML
Executable File
18 lines
373 B
YAML
Executable File
---
|
|
version: '3'
|
|
|
|
services:
|
|
cadvisor:
|
|
image: google/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 |