mirror of https://github.com/docker/cli.git
fix confusing description of stdout/stdin pipe
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
3e911ff825
commit
6a767c1711
|
@ -133,7 +133,7 @@ You can specify to which of the three standard streams (`STDIN`, `STDOUT`,
|
||||||
For interactive processes (like a shell), you must use `-i -t` together in
|
For interactive processes (like a shell), you must use `-i -t` together in
|
||||||
order to allocate a tty for the container process. `-i -t` is often written `-it`
|
order to allocate a tty for the container process. `-i -t` is often written `-it`
|
||||||
as you'll see in later examples. Specifying `-t` is forbidden when the client
|
as you'll see in later examples. Specifying `-t` is forbidden when the client
|
||||||
standard output is redirected or piped, such as in:
|
is receiving its standard input from a pipe, as in:
|
||||||
|
|
||||||
$ echo test | docker run -i busybox cat
|
$ echo test | docker run -i busybox cat
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue