Open OnkelTem opened 6 years ago
I don't think stdin or stdout would ever be a TTY unless -t
is set, and stdin is always opened if TTY is set.
Remember that this is configuring the stdio of the process in the container which is asynchronous from the stdio of your terminal.
Expected behavior
docker run/exec should react on opened STDIN/STDOUT and pass their states to the command, simply connecting things to be connected.
Actual behavior
Instead it just ignores any streams and makes software relying on streams detection e.g. via stat() unusable.
Steps to reproduce the behavior
In a native Linux shell:
Now in docker container
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.)
Linux Kubuntu 17.04