This relies on changes to go-winio to support CloseWrite() when the pipe is in message mode. This fixes an issue where stdin is not properly closed when there is no more input to docker run. Signed-off-by: John Starks <jostarks@microsoft.com>
We make the check more user-friendly, and users can learn start docker with wrong fd used. Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>