Download as .zip Download as .tar.gz View on GitHub


Demo of build and startup:


Initial setup :

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: