the input device is not a TTY. If you are using mintty, try prefixing the comma

windows上執行Docker命令,如:mysql

docker exec -it mysql mysql -uroot -p
複製代碼

就會報錯:sql

the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'
複製代碼

須要在執行Docker命令以前,加 winpty,如:docker

winpty docker exec -it mysql mysql -uroot -p
複製代碼

相關文章
相關標籤/搜索