#!/bin/sh

echo This is the monitoring script

echo cadvisor...
docker run -d \
  --restart unless-stopped \
  -p 9101:8080 \
  --name cadvisor \
  -v /:/rootfs:ro \
  -v /var/run:/var/run:rw \
  -v /sys:/sys:ro \
  -v /var/lib/docker/:/var/lib/docker:ro \
  gcr.io/cadvisor/cadvisor

echo node-exporter...
docker run -d \
  --restart unless-stopped \
  -p 9100:9100 \
  --name node-exporter \
  prom/node-exporter
