命令行前边加上 winpty 进容器的时候把/bin/sh或/bin/bash改成 sh 以及 bash就可以了
winpty docker exec -it nacos bash
转载请注明来源:WBB»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’ 解决方案》对你有帮助,请点赞、收藏,并留下你的观点哦!