LANGUAGE/!$%!% ERROR NOTE 2017. 11. 20. 22:31

Docker (도커)

Error (에러)

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

Problem (문제)

Windows의 Gitbash를 MinTTY로 사용할 때는 지원을 안 하나 보다..

Solved (해결)

앞에 winpty를 붙이면 된다.

winpty docker run -it ubuntu bash

만약 winpty를 붙이는 것이 귀찮으면 Gitbash를 다시 설치 해야한다. 

  • 설치중에 다음 옵션중에서 두번째 옵션으로 말이다.
- Use MinTTY (the default terminal of MSYS2)
- Use Windows' default console window

Reference (참고)