the input device is not a TTY. I

2019-07-17  本文已影响0人  哈皮呀

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
image
上一篇 下一篇

猜你喜欢

热点阅读