Error: Cannot perform an interactive login from a non TTY device

Posted jiawen010

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error: Cannot perform an interactive login from a non TTY device相关的知识,希望对你有一定的参考价值。

[email protected] MINGW64 /d/Docker Toolbox
$ docker login --username=绝世随机变量 registry.cn-hangzhou.aliyuncs.com
Error: Cannot perform an interactive login from a non TTY device

尝试在Windows 7上使用DockerToolbox / docker-machine将shell将本地镜像上传 登陆阿里云私库的时候报以上错误

  解决办法:使用winpty为docker命令添加前缀 如:

  $ winpty docker login --username=绝世随机变量 registry.cn-hangzhou.aliyuncs.com

以上是关于Error: Cannot perform an interactive login from a non TTY device的主要内容,如果未能解决你的问题,请参考以下文章

[!] CDN: trunk - Cannot perform full-text search because Algolia returned an error: 0: Cannot reach(

[!] CDN: trunk - Cannot perform full-text search because Algolia returned an error: 0: Cannot reach

Error: Cannot perform an interactive login from a non TTY device

cannot perform an INSERT without a partition column value

cannot perform an INSERT without a partition column value

error rabbitMQ:Error: unable to perform an operation on node 'rabbit@xxxx'.