Docker Monitoring with support for Grafana and Graphite
Switch branches/tags
Nothing to show
Clone or download
cglewis updated to grafana 1.9.0
also moved several containers over to the debian:wheezy image for #34
Latest commit 6ab8bbf Dec 7, 2014



  • time series docker instrumentation and visualization
  • built/tested as drop-in on Ubuntu Trusty at the moment, need to test on boot2docker
  • need to test across multiple hosts (whisper/elasticsearch/etc)

Initial setup :

  • Obligatory disclaimer about logs & disk space... upstart will rotate/etc; but growth of backend, will just keep going. Don't let your docker host run out of space!
  • Everything in this setup assumes ipv4 only at this point (FIXME)

Instructions below are for Ubuntu 14.04, assuming a vanilla/patched install with rsyslog running.

Official install from

sudo apt-get update
sudo apt-get install -y
sudo ln -sf /usr/bin/ /usr/local/bin/docker
sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/

Update to a current docker:

cd /tmp
wget -O docker
sudo mv docker /usr/bin/
sudo chown root:root /usr/bin/
sudo chmod 755 /usr/bin/

Make these changes:

(FIXME deal with situation where pre-existing docker_opts exist/ordering/etc)

printf "\n# Added for dockerana log aggregation\nDOCKER_OPTS=\" -D\"\n" | sudo tee -a /etc/default/ > /dev/null
sudo perl -pi -e 's/(\"\$DOCKER\" -d \$DOCKER_OPTS)/$1 2>&1 | logger -t docker\n\tnetstat --interfaces -c | logger -t netstat &/' /etc/init/

Go ahead and re-start docker:

sudo service restart

To build dockerana:

git clone
cd dockerana

To start:


To stop: