github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/attach.md (about) 1 ####> This option file is used in: 2 ####> podman create, run 3 ####> If file is edited, make sure the changes 4 ####> are applicable to all of those. 5 #### **--attach**, **-a**=*stdin* | *stdout* | *stderr* 6 7 Attach to STDIN, STDOUT or STDERR. 8 9 In foreground mode (the default when **-d** 10 is not specified), **podman run** can start the process in the container 11 and attach the console to the process's standard input, output, and 12 error. It can even pretend to be a TTY (this is what most command-line 13 executables expect) and pass along signals. The **-a** option can be set for 14 each of **stdin**, **stdout**, and **stderr**.