Jinja configuration templates for Docker

Warning: this script is still an early version and should only be usedfor production with great care and much testing. For instance, exceptionsare not handled yet and the container will crash in many cases.

Security warning: this script is mostly intended for devops under theasumption that templates are managed with the same security policy as thescript itself. The utils module that is passed to the Jinja renderermakes executing arbitrary code from the template a piece of cake.

Introduction

This project is based on the awesome tiller principle and the amazingdocker-gen by jwilder. It ships as a Docker containers that listenson the Docker socket for specific events then walk through a directoryand renders each configuration file through the Jinja templating engine.

This behavior can easily be leveraged to dynamically reconfigure otherDocker containers or hosts to adapt to changing contexts. For instance :