docker使用报错:the input device is not a TTY

docker使用报错:the input device is not a TTY

 

docker使用报错:the input device is not a TTY

                           用定时任务执行docker命令的脚本的时候报错如上标题,tty(终端设备的统称): tty一词源于Teletypes,或                                      teletypewriters。这个的意思是说后台linux执行的时候没有终端设备。我们一般执行docker里的命令时候都喜欢加上                      -it 这个参数,这里的-it 就是表示终端设备。所以,如果我们docker执行后台运行的任务或者程序直接去除 -it 这个                        参数就不会出现这个报错了!

docker使用报错:the input device is not a TTY

      聪明的你docker使用报错:the input device is not a TTY知道如何帮我们的小公举处理这个问题吗?

     大家可以在留言评论或者公众号中回复你的答案,我们会在所有留言和评论中选出真正的那个胖八毛,在下期公布……敬请期待!

docker使用报错:the input device is not a TTY

      你也可以把你工作中遇到的问题和bug在公众号中发送给我,我将会给予处理建议。并会抽取一些代表性的,在公众号中给大家以胖八毛的形式给大家解答……docker使用报错:the input device is not a TTY