其他分享
首页 > 其他分享> > the input device is not a TTY. If you are using mintty, try prefixing the command with ‘winpty‘

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

作者:互联网

案发现场

$ docker run --rm -it amazon/aws-cli --version
the input device is not a TTY.  If you are using mintty, try prefixing the command with 'winpty'

在这里插入图片描述

解决方案

$ winpty docker run --rm -it amazon/aws-cli --version
aws-cli/2.4.6 Python/3.8.8 Linux/5.10.16.3-microsoft-standard-WSL2 docker/x86_64.amzn.2 prompt/off

在这里插入图片描述

标签:TTY,winpty,--,mintty,aws,docker,cli
来源: https://blog.csdn.net/AV_woaijava/article/details/121904543