summaryrefslogtreecommitdiffstats
path: root/monitor/dispatch/install_cadvisor_client.sh
blob: bcd0e8a1085df6bb6225c657db87cd0c5351eb04 (plain)
1
2
3
4
5
6
7
8
9
10
11
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