mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #28857 from miaoyq/fix-a-description-of-docker-run
Fix description and link of 'docker run [-a]'
This commit is contained in:
commit
d5dee554ea
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
--sig-proxy=true: Proxy all received signals to the process (non-TTY mode only)
|
||||||
-i : Keep STDIN open even if not attached
|
-i : Keep STDIN open even if not attached
|
||||||
|
|
||||||
If you do not specify `-a` then Docker will [attach all standard
|
If you do not specify `-a` then Docker will [attach to both stdout and stderr
|
||||||
streams]( https://github.com/docker/docker/blob/75a7f4d90cde0295bcfb7213004abce8d4779b75/commands.go#L1797).
|
]( https://github.com/docker/docker/blob/4118e0c9eebda2412a09ae66e90c34b85fae3275/runconfig/opts/parse.go#L267).
|
||||||
You can specify to which of the three standard streams (`STDIN`, `STDOUT`,
|
You can specify to which of the three standard streams (`STDIN`, `STDOUT`,
|
||||||
`STDERR`) you'd like to connect instead, as in:
|
`STDERR`) you'd like to connect instead, as in:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue