docker/docker — pull request #8381 by ncdc (2014-10-03 14:31:36+00:00)
Title: Fix stdout premature EOF

Wait until the goroutines for stdout and stderr have both finished
before closing stdin.

Fixes #3631