도커 실행 시 나타나는 에러들에 대해서 한 곳에 정리해야하는 곳이 필요하다 싶어서 만드는 포스트..
모두에게 도움이 되면 좋겠다..
필자의 OS는 윈도우임을 명시하고 시작한다.
1. docker: error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/create": open //./pipe/docker_engine: The system cannot find the file specified.
See 'docker run --help'.
해결방법 :
도커 엔진을 실행시키면 명령어가 잘 동작함을 확인 할 수 있다.
2. the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'
해결방법 : git bash를 이용하여 명령어를 쳤을때 나는 문제임을 확인 할 수 있다.
Git Bash 설치시 환경을 "Mintty"로 설정한 경우 나타나는 문제임을 알 수 있었고,
1) 명령어 앞에 winpty를 기입후 명령어를 입력하면 해결됨을 확인 수 있다.
2) 1번의 방법이 싫다면 Git bash를 다시 설치 할때 콘솔설정을 윈도우로 하면된다.
3) Git bash가 아닌 Powershell 혹은 CMD를 이용하면된다.
'Server' 카테고리의 다른 글
Docker 에러 해결 하기 (0) | 2024.02.20 |
---|---|
[Kafka] Kafka, 토픽&파티션, 컨슈머에 대해 알아보기 (1) | 2023.02.14 |
[Linux] Swap Memory (스왑 메모리) 설정 방법 (3) | 2022.07.13 |