mirror of
https://github.com/containers/podman.git
synced 2025-06-28 22:53:21 +08:00
Merge pull request #16158 from edsantiago/docs_dedup_attach
[CI:DOCS] Man pages: refactor common options: --attach
This commit is contained in:
10
docs/source/markdown/options/attach.md
Normal file
10
docs/source/markdown/options/attach.md
Normal file
@ -0,0 +1,10 @@
|
||||
#### **--attach**, **-a**=*stdin* | *stdout* | *stderr*
|
||||
|
||||
Attach to STDIN, STDOUT or STDERR.
|
||||
|
||||
In foreground mode (the default when **-d**
|
||||
is not specified), **podman run** can start the process in the container
|
||||
and attach the console to the process's standard input, output, and
|
||||
error. It can even pretend to be a TTY (this is what most command-line
|
||||
executables expect) and pass along signals. The **-a** option can be set for
|
||||
each of **stdin**, **stdout**, and **stderr**.
|
@ -72,16 +72,7 @@ and specified with a _tag_.
|
||||
|
||||
@@option arch
|
||||
|
||||
#### **--attach**, **-a**=*location*
|
||||
|
||||
Attach to STDIN, STDOUT or STDERR.
|
||||
|
||||
In foreground mode (the default when **-d**
|
||||
is not specified), **podman run** can start the process in the container
|
||||
and attach the console to the process's standard input, output, and standard
|
||||
error. It can even pretend to be a TTY (this is what most command line
|
||||
executables expect) and pass along signals. The **-a** option can be set for
|
||||
each of stdin, stdout, and stderr.
|
||||
@@option attach
|
||||
|
||||
@@option authfile
|
||||
|
||||
|
@ -89,16 +89,7 @@ and specified with a _tag_.
|
||||
|
||||
@@option arch
|
||||
|
||||
#### **--attach**, **-a**=*stdin* | *stdout* | *stderr*
|
||||
|
||||
Attach to STDIN, STDOUT or STDERR.
|
||||
|
||||
In foreground mode (the default when **-d**
|
||||
is not specified), **podman run** can start the process in the container
|
||||
and attach the console to the process's standard input, output, and
|
||||
error. It can even pretend to be a TTY (this is what most commandline
|
||||
executables expect) and pass along signals. The **-a** option can be set for
|
||||
each of **stdin**, **stdout**, and **stderr**.
|
||||
@@option attach
|
||||
|
||||
@@option authfile
|
||||
|
||||
|
Reference in New Issue
Block a user