mirror of
https://github.com/containers/podman.git
synced 2026-02-02 10:21:53 -05: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>
473 B
473 B
--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.