Skip to content

Instantly share code, notes, and snippets.

@arsalanses
Last active October 20, 2024 10:07
Show Gist options
  • Save arsalanses/faa37f3a876e312a26bf326d681f9db9 to your computer and use it in GitHub Desktop.
Save arsalanses/faa37f3a876e312a26bf326d681f9db9 to your computer and use it in GitHub Desktop.
cadvisor
services:
cadvisor:
image: gcr.io/cadvisor/cadvisor:v0.49.1
container_name: cadvisor
command: --disable_metrics=disk,udp,percpu
restart: unless-stopped
privileged: true
ports:
- "9102:8080"
volumes:
- /:/rootfs:ro
- /var/run:/var/run:ro
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
- /dev/disk/:/dev/disk:ro
# https://devopstbz.s3.ir-thr-at1.arvanstorage.ir/registry/cadvisor.tar
# docker load < cadvisor.tar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment