The docker run
documentation says that -t
is Allocate a pseudo-TTY
.
My problem with running docker with -it
, is that with -t
on, I cannot redirect STDOUT
and STDERR
into files.
It is important for me to run docker on interactive mode, as I need the user to be able to interrupt the running process (or just write to STDIN
).
- Is there anything I should be concerned about when running a docker container interactively, but without
-t
?