问题 在windows下使用docker,出现下面问题,需要再docker前加winpty the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty' 解决方案 winpty docker run -it ubuntu bash