Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
(cherry picked from commit 08ff4f427e5ab6b597348661e602cd2a335e0aa0)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
| ... | ... |
@@ -123,8 +123,8 @@ and pass along signals. All of that is configurable: |
| 123 | 123 |
--sig-proxy=true: Proxy all received signals to the process (non-TTY mode only) |
| 124 | 124 |
-i : Keep STDIN open even if not attached |
| 125 | 125 |
|
| 126 |
-If you do not specify `-a` then Docker will [attach all standard |
|
| 127 |
-streams]( https://github.com/docker/docker/blob/75a7f4d90cde0295bcfb7213004abce8d4779b75/commands.go#L1797). |
|
| 126 |
+If you do not specify `-a` then Docker will [attach to both stdout and stderr |
|
| 127 |
+]( https://github.com/docker/docker/blob/4118e0c9eebda2412a09ae66e90c34b85fae3275/runconfig/opts/parse.go#L267). |
|
| 128 | 128 |
You can specify to which of the three standard streams (`STDIN`, `STDOUT`, |
| 129 | 129 |
`STDERR`) you'd like to connect instead, as in: |
| 130 | 130 |
|