Skip to content

Instantly share code, notes, and snippets.

@dnburgess
Created August 19, 2021 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dnburgess/ce3ca9f8a30ba7638b88d9442f8ec851 to your computer and use it in GitHub Desktop.
Save dnburgess/ce3ca9f8a30ba7638b88d9442f8ec851 to your computer and use it in GitHub Desktop.
DB Tech CAdvisor
---
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