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> Upstream-commit: 59573fb3c6e8e55278c973b9c799db6ed9c0f9c7 Component: engine
docker.go contains Docker's main function.
This file provides first line CLI argument parsing and environment variable setting.