Notice
Recent Posts
Recent Comments
Link
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Archives
Today
Total
관리 메뉴

PS 저장소

Docker 설치 본문

프로젝트 준비

Docker 설치

Maker29 2024. 3. 13. 01:04

0. 설치목적

AI Hub에서 필요한 데이터나 모델 등을 활용해 보려고 하고, 이를 위하여 Docker를 설치하여 추후 사용을 위해 준비한다.

 

1. 설치환경

컴퓨터 사양

Windows 11에서 설치하였고, 컴퓨터 사양은 위와 같다.

 

2. 설치

 

Docker 설치 화면

Windows 10 이상의 환경에서 Docker를 사용하려면 WSL2로 업데이트가 필요하다고 하여 첫 번째 체크박스를 체크하여 설치하였다. 이후 Ubuntu 22.04 버전도 설치하여 docker를 실행시켰는데 

Error
Request failed and retry attempts exhausted

가 떠서 여러 방법을 시도해 보았다.

그 중 아래 링크의 답변들을 시도해 보고, Hyper-V 체크박스도 없애고, Docker setting도 모두 초기화 해봤는데 결국 똑같은 에러가 계속 나왔다.
https://forums.docker.com/t/error-response-from-daemon-open-pipe-docker-engine-windows-the-system-cannot-find-the-file-specified/131750

 

Error response from daemon: open \\.\pipe\docker_engine_windows: The system cannot find the file specified

I’m a new user and don’t know enough to troubleshoot efficiently. (New as in, I just went through the getting-started demo this morning.) After I switched to windows I can’t get anywhere. I’ve been to many forums and tried many things, it’s not w

forums.docker.com

2시간동안 헤매다가 그냥 WSL2 체크박스 선택 안하고 재설치 하니 잘 되었다...짜증

 

3. 실행

cmd 창에 다음과 같이 docker 명령어를 실행한다.

docker run -d -p 80:80 docker/getting-started

이후 docker desktop을 보면 잘 작동하는 것을 볼 수 있다.

Docker desktop 실행 모습

'프로젝트 준비' 카테고리의 다른 글

Object detection  (1) 2024.03.14
Comments