错误:the input device is not a TTY

来源:互联网 发布:验机软件 编辑:程序博客网 时间:2024/06/05 04:21

使用JSch远程ssh到Linux服务器上执行docker命令:

sudo docker exec -it nova-627e13b3-06b0-49e6-8cb9-8b649a9a8c93 ls

一直报错:the input device is not a TTY

在stackflow上查到,命令中去掉t 错误解决

命令改为:

sudo docker exec -i nova-627e13b3-06b0-49e6-8cb9-8b649a9a8c93 ls
阅读全文
0 0