summaryrefslogtreecommitdiffstats
path: root/test/start_test.sh
blob: f348c7b884af3b515ad4e07f92656feb98625f7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

if [ -z "$1" ] ; then
  echo "usage: $0 <id of docker image>"
  exit 1
fi

basedir="$( cd -P "$( dirname "$0" )" && pwd )/munin"

docker run -it \
  -u 1001 \
  -p 8080:8080 \
  -v $basedir:/munin \
  -e NODES="styx:192.168.26.117" \
  "$@"