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

  • Post author:
  • Post category:其他




docker the input device is not a TTY. If you are using mintty, try prefixing the command with ‘winp 解决方法



执行命令报错

docker exec -it 8ea8a375e686 /bin/bash
the input device is not a TTY.  If you are using mintty, try prefixing the command with 'winpty'



解决方案

前面加 winpt  /bin/bash 改为 bash
 winpty docker exec -it 8ea8a375e686 bash



版权声明:本文为hxf009原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。