Happyjava's blog site

Happyjava's blog site,分享编程知识,顺便发发牢骚

0%

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

windows上执行Docker命令,如:

1
docker exec -it mysql mysql -uroot -p

就会报错:

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

需要在执行Docker命令之前,加 winpty,如:

1
winpty docker exec -it mysql mysql -uroot -p