From fe9a20e2a3d4ac442620c22ac6b1325723b0a221 Mon Sep 17 00:00:00 2001 From: Yanqiang Miao Date: Sat, 26 Nov 2016 22:56:29 +0800 Subject: [PATCH] Fix a description of 'docker run [-a]' Signed-off-by: Yanqiang Miao Upstream-commit: 43a8f3b02881639d5cefa234ad1464cf15b67c96 Component: cli --- components/cli/docs/reference/run.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/cli/docs/reference/run.md b/components/cli/docs/reference/run.md index 6ddab7550d..64725e8f26 100644 --- a/components/cli/docs/reference/run.md +++ b/components/cli/docs/reference/run.md @@ -123,8 +123,8 @@ and pass along signals. All of that is configurable: --sig-proxy=true: Proxy all received signals to the process (non-TTY mode only) -i : Keep STDIN open even if not attached -If you do not specify `-a` then Docker will [attach all standard -streams]( https://github.com/docker/docker/blob/75a7f4d90cde0295bcfb7213004abce8d4779b75/commands.go#L1797). +If you do not specify `-a` then Docker will [attach to both stdout and stderr +]( https://github.com/docker/docker/blob/4118e0c9eebda2412a09ae66e90c34b85fae3275/runconfig/opts/parse.go#L267). You can specify to which of the three standard streams (`STDIN`, `STDOUT`, `STDERR`) you'd like to connect instead, as in: