diff options
Diffstat (limited to 'monitor/dispatch/install_cadvisor_client.sh')
-rw-r--r-- | monitor/dispatch/install_cadvisor_client.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/monitor/dispatch/install_cadvisor_client.sh b/monitor/dispatch/install_cadvisor_client.sh new file mode 100644 index 00000000..bcd0e8a1 --- /dev/null +++ b/monitor/dispatch/install_cadvisor_client.sh @@ -0,0 +1,12 @@ +HOSTNAME=`hostname` + +sudo docker run \ + --name=bottlenecks-cadvisor-${HOSTNAME} \ + --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 \ + google/cadvisor:v0.25.0 |