mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-12-11 09:43:08 +01:00
22 lines
661 B
YAML
Executable File
22 lines
661 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"
|
|
network_mode: host
|
|
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
|