It based on
docker pull quay.io/kyohsuke/docker-munstrap:latest
docker run -d -p 80:80 \
-e CAPTURE_HOST=true \
-e NODES="foo.local:127.0.0.1 bar.remote:1.2.3.4" \
-v /etc/localtime:/etc/localtime:ro \
-v /var/lib/munin:/var/lib/munin \
quay.io/kyohsuke/docker-munstrap
DockerでさくっとMunin masterをつくる (japanese: written by yacchin)
docker pull quay.io/kyohsuke/docker-munstrap:latest
docker run -d -p 80:80 quay.io/kyohsuke/docker-munstrap
- access http://127.0.0.1/ on your browser.
NODES
: Space separated list of<name>:<host>
munin node pairs. (i.e.foo.local:127.0.0.1 bar.remote:1.2.3.4
)
example)
docker run -d -p 80:80 -e NODES="foo.local:127.0.0.1 bar.remote:1.2.3.4" quay.io/kyohsuke/docker-munstrap
mount /etc/localtime with Readonly
-v /etc/localtime:/etc/localtime:ro
mount host directory with Read/Write
-v /path/your/store/dir/munin:/var/lib/munin
-e CAPTURE_HOST=true