[ERROR] docker build 시 오류 해결 (ERROR: error during connect: Head ~)

2024. 10. 7. 23:35Dev/Docker

반응형

Udemy에서 도커 강의를 수강 중이다.

강의 내용 중에 docker compose 실습을 위해 도커에서 github에 올려놓은 소스를 이용하여 배포를 해보는 과정이 있다.

 

소스 clone 후,

Dockerfile이 존재하는 경로에서 아래와 같이 명령어를 입력했다.

docker build . -t voting-app

 

오류내용

ERROR: error during connect: Head "http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/_ping": open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified.

 

처음에는 내 노트북이 윈도우라 발생한 오류인 줄 알았다.

 

해결방법

도커 데스크탑을 실행시킨 후, 명령어를 다시 실행하니 정상적으로 돌아감.

반응형

'Dev > Docker' 카테고리의 다른 글

[ERROR] docker build 시 오류 해결 (401 Unauthorized)  (0) 2024.10.07