garethr/garethr-docker — pull request #119 by EvanKrall (2014-10-02 05:46:09+00:00)
Title: Switch debian to use sysvinit init scripts.

I wrote this because the upstart configs kept getting into an unfortunate state: -- the docker client managed by upstart would die somehow (without killing the container); this means upstart can no longer stop the container. Since the old container is still running and holding onto network ports, upstart can't start a new container.

I believe the sysvinit style is better suited to managing Docker containers, since Docker is already managing
containers, and stop/start/status map cleanly to various docker commands. Therefore, I've made this patch, which unifies the init scripts between RedHat and Debian.

As added bonuses, this fixes #75 and #100.