the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty' 1

the input device is not a TTY. If you are using mintty, try prefixing the command with ‘winpty’

winpty docker run -it ubuntu

Here is what the above code is Doing:
1. The first line is a shebang. It tells the shell what program to use to run the script.
2. The second line is a comment. It’s ignored by the shell.
3. The third line is a command. It tells the shell to run the command “docker run -it ubuntu”.
4. The fourth line is a comment. It’s ignored by the shell.
5. The fifth line is a command. It tells the shell to run the command “winpty docker run -it ubuntu”.

Similar Posts