windows上执行Docker命令,如:
docker exec -it mysql mysql -uroot -p
就会报错:
the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'
需要在执行Docker命令之前,加 winpty,如:
winpty docker exec -it mysql mysql -uroot -p
windows上执行Docker命令,如:
docker exec -it mysql mysql -uroot -p
就会报错:
the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'
需要在执行Docker命令之前,加 winpty,如:
winpty docker exec -it mysql mysql -uroot -p
本文标题:the input device is not a TTY. I
本文链接:https://www.haomeiwen.com/subject/iocqlctx.html
网友评论