dotcloud/docker — pull request #267 by creack (2013-03-30 05:12:41+00:00)
Title: Fix #108, reattach now works properly

The issue was that .Close() on the write side of the pipe does not kill the pipe as the Read side still block and waits for input.

Because of this, the write never failed and just block. Now that the logs do not need to be kept open all the time (#266), just reinit the list when it is closed.