summaryrefslogtreecommitdiffstats
path: root/monitor/cadvisor_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/cadvisor_install.sh')
-rw-r--r--monitor/cadvisor_install.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/monitor/cadvisor_install.sh b/monitor/cadvisor_install.sh
new file mode 100644
index 00000000..524e24d8
--- /dev/null
+++ b/monitor/cadvisor_install.sh
@@ -0,0 +1,10 @@
+sudo docker run \
+ --volume=/:/rootfs:ro \
+ --volume=/var/run:/var/run:rw \
+ --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 \
+ google/cadvisor:v0.25.0 \ -storage_driver=Prometheus