Skip to content

Instantly share code, notes, and snippets.

@mikekenneth
Last active April 7, 2026 09:37
Show Gist options
  • Select an option

  • Save mikekenneth/1b1df338bd75cb485e00086038dac825 to your computer and use it in GitHub Desktop.

Select an option

Save mikekenneth/1b1df338bd75cb485e00086038dac825 to your computer and use it in GitHub Desktop.
rootless cadvisor : Allow you to start cadvisor with rootless docker so you can monitor les rootless containers
docker run \
--volume=/:/rootfs:ro \
--volume=/run/user/$(id -u)/docker.sock:/var/run/docker.sock:ro \
--volume=/sys:/sys:ro \
--volume=$HOME/.local/share/docker/:/var/lib/docker:ro \
--volume=/dev/disk/:/dev/disk:ro \
--publish=8080:8080 \
--detach=true \
--name=cadvisor \
gcr.io/cadvisor/cadvisor:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment