mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-07 17:36:22 +00:00
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>
10 lines
473 B
Markdown
10 lines
473 B
Markdown
#### **--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**.
|