docker/docker — pull request #8233 by tiborvass (2014-09-25 15:09:01+00:00)
Title: Fix Interactive container hangs when redirecting stdout

Fixes #6509
Closes #7658

This is a rebase of #7658 + tests.

I even tested the `events` test with one commit before the #5979 PR and it failed. So all 3 are needed.

Ping @erikh @jfrazelle