The docker run
documentation claims:
For interactive processes (like a shell), you must use -i -t together in order to allocate a tty for the container process. -i -t is often written -it as you’ll see in later examples. Specifying -t is forbidden when the client is receiving its standard input from a pipe, as in:
So, what happens if I omit the -t
flag? Is there a reasonable scenario for just providing the --interactive
flag without the -t
flag?