You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VERSION=v0.49.1 # use the latest release version from https://github.com/google/cadvisor/releases
sudo docker run \
--volume=/:/rootfs:ro \
--volume=/var/run:/var/run:ro \
--volume=/sys:/sys:ro \
--volume=/var/lib/docker/:/var/lib/docker:ro \
--volume=/dev/disk/:/dev/disk:ro \
--publish=8080:8080 \
--detach=true \
--name=cadvisor \
--privileged \
--device=/dev/kmsg \
gcr.io/cadvisor/cadvisor:$VERSION
docs/running.md:
VERSION=v0.35.0 # use the latest release version from https://github.com/google/cadvisor/releases
sudo docker run \
--volume=/:/rootfs:ro \
--volume=/var/run:/var/run:rw \
--volume=/sys:/sys:ro \
--volume=/var/lib/docker/:/var/lib/docker:ro \
--publish=8080:8080 \
--detach=true \
--name=cadvisor \
gcr.io/cadvisor/cadvisor:$VERSION
Do I need /dev/disks, --privileged, and --device=/dev/kmsg? And /var/run is rw in the second case.
The first example looks like the second example + some parts of the "perf support" example. I believe it should be documented what is needed for what. Or at least the examples need to be synchronized. Because I have these 2 examples and have no way to choose.
The text was updated successfully, but these errors were encountered:
The
README.md
says:docs/running.md
:Do I need
/dev/disks
,--privileged
, and--device=/dev/kmsg
? And/var/run
isrw
in the second case.The first example looks like the second example + some parts of the "perf support" example. I believe it should be documented what is needed for what. Or at least the examples need to be synchronized. Because I have these 2 examples and have no way to choose.
The text was updated successfully, but these errors were encountered: