mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Man pages: refactor common options: --attach
Only between podman-create and -run; podman-start was too different. (But please look into it, maybe there's a way to reconcile the diffs). Very minor formatting changes made to reconcile the two. Easy to review using hack/markdown-preprocess-review Signed-off-by: Ed Santiago <santiago@redhat.com>
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
|
@@option arch
|
||||||
|
|
||||||
#### **--attach**, **-a**=*location*
|
@@option attach
|
||||||
|
|
||||||
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 authfile
|
@@option authfile
|
||||||
|
|
||||||
|
@ -89,16 +89,7 @@ and specified with a _tag_.
|
|||||||
|
|
||||||
@@option arch
|
@@option arch
|
||||||
|
|
||||||
#### **--attach**, **-a**=*stdin* | *stdout* | *stderr*
|
@@option attach
|
||||||
|
|
||||||
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 authfile
|
@@option authfile
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user