검색결과 리스트
글
LANGUAGE/!$%!% ERROR NOTE
2017. 11. 20. 22:31
!markdown
# Docker (도커)
### Error (에러)
```log
the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'
```
### Problem (문제)
Windows의 Gitbash를 MinTTY로 사용할 때는 지원을 안 하나 보다..
### Solved (해결)
앞에 `winpty`를 붙이면 된다.
```bash
winpty docker run -it ubuntu bash
```
만약 winpty를 붙이는 것이 귀찮으면 `Gitbash를 다시 설치` 해야한다.
- 설치중에 다음 옵션중에서 `두번째 옵션`으로 말이다.
```
- Use MinTTY (the default terminal of MSYS2)
- Use Windows' default console window
```
### Reference (참고)
- Docker for Windows: Interactive Sessions in MinTTY Git Bash: [http://willi.am/blog/2016/08/08/docker-for-windows-interactive-sessions-in-mintty-git-bash/](http://willi.am/blog/2016/08/08/docker-for-windows-interactive-sessions-in-mintty-git-bash/)
'LANGUAGE > !$%!% ERROR NOTE' 카테고리의 다른 글
[GitLab-Runner] 인자(아규먼트) 무시 현상 (0) | 2017.11.22 |
---|---|
[Docker] docker.exe: Error response from daemon: invalid bind mount spec ... invalid mount config for type "bind": invalid mount pat (0) | 2017.11.20 |
[Java] JDBC, java.sql.SQLException: ORA-29536: 부적합하게 형성된 소스 (0) | 2017.11.05 |
[Oracle] ORA-00059: maximum number of DB_FILES exceeded (0) | 2017.11.05 |
[Java] Pattern, Matcher이용시 StackOverFlow (0) | 2017.11.03 |