orchardup/fig — pull request #290 by d11wtq (2014-07-05 08:29:11+00:00)
Title: BUGFIX: Update dockerpty for non-TTY multiplexing.

If you don't allocate a pseudo-TTY in a container, then you attach to the container, docker does something magic with the streams and multiplexes stdout and stderr together, with 8-byte headers indicating the stream and the packet size. This update to dockerpty implements that behaviour (\*) and is also the second release to have full test coverage.

Users affected would have been those using `docker run -T ...`.

* Note that fig also had this bug with the old threaded SocketClient.