I executed the command:
winpty docker run -i -t ubuntu /bin/bash
And received the following error:
C:/Program Files/Docker/Docker/Resources/bin/docker.exe: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"C:/Program Files/Git/usr/bin/bash.exe\": stat C:/Program Files/Git/usr/bin/bash.exe: no such file or directory".
Answer for @Rup:
Answer for @akop:
$ docker run -i -t ubuntu /bin/bash
the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'