Work around 'docker run' waiting for input

* https://github.com/dotcloud/docker/issues/5185
Merge pull request #30 from Supermathie/fix-hang

Work around 'docker run' waiting for input