Created
August 19, 2021 19:37
-
-
Save dnburgess/ce3ca9f8a30ba7638b88d9442f8ec851 to your computer and use it in GitHub Desktop.
DB Tech CAdvisor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: "2.1" | |
services: | |
cadvisor: | |
image: gcr.io/cadvisor/cadvisor:latest | |
container_name: cadvisor | |
privileged: true | |
devices: | |
- /dev/kmsg:/dev/kmsg | |
ports: | |
- 8080:8080 #change as necessary | |
volumes: | |
- /:/rootfs:ro | |
- /var/run:/var/run:ro | |
- /sys:/sys:ro | |
- /var/lib/docker/:/var/lib/docker:ro | |
- /dev/disk/:/dev/disk:ro | |
restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment