# 1. docker desktop 설치

먼저 docker 환경에서 운영되기 때문에 로컬 컴퓨터에 docker desktop을 설치합니다. docker desktop 사이트 주소는 다음과 같습니다.\
<https://www.docker.com/products/docker-desktop/>

사이트에 접속해서 로그인을 해줍니다. 가입이 안되어 있으면 가입을 해주시면 됩니다.

![](/files/ebyP2IPvsYnClSmH2GOc)

로그인을 하면 아래와 같은 화면을 볼 수 있습니다. docker desktop에 있는 `Go to donwload` 버튼을 눌러서 다운로드 화면으로 이동합니다.

![](/files/lvVvTMPfSiEEPgGh1M9l)

스크롤을 내리면 아래와 같이 Mac, Windows에 따른 설치 파일을 다운 받을 수 있습니다.

![](/files/ctZGlCsUMkUMKD4OJn2a)

다운 받은 `Docker Desktop installer.exe`를 더블 클릭해서 설치를 진행합니다.

## D 드라이브에 설치하기

C 드라이브에 용량이 부족할 경우를 고려해서 D 드라이브에 설치하고자 합니다. 단순히 설치 파일을 실행해서는 D 드라이브에 설치할 수 없습니다.

> 저는 최소 20GB가 필요했습니다. 사전에 용량이 충분한지 확인하세요! :smile:

먼저 윈도우의 `명령 프롬프트` 실행합니다. 윈도우 앱 검색 창에서 cmd를 타이핑하면 `명령 프롬프트`를 볼 수 있습니다.

`명령 프롬프트`를 실행하고 설치 파일이 있는 경로로 이동한 다음에 아래 명령어를 실행하면 특정 폴더에 Docker Desktop을 설치할 수 있다.

여기서는 D 드라이브에 Docker 폴더 안에 같은 이름으로 Docker 폴더를 또 생성해서 설치 폴더를 지정했고 wsl 관련 파일을 `D:\Docker\wsl`에 설치 하도록 입력된 명령어이므로 폴더 경로를 변경하고 싶으면 2 부분을 수정하면 됩니다.

```bash
start /w "" "Docker Desktop Installer.exe" install -accept-license --installation-dir="D:\Docker\Docker" --wsl-default-data-root="D:\Docker\wsl" --windows-containers-default-data-root="D:\\Docker"
```

## Docker desktop 실행 및 로그인

### Docker desktop 실행

![](/files/rgfxcLuHGY2KS2UZyVl7)

설치가 완료되면 `Docker Desktop` 앱을 확인할 수 있고 이를 실행해서 정상적으로 실행이 되는지 확인합니다.

> 로그인이 안되어 있으면 가입한 계정으로 로그인을 해줍니다.

![](/files/aD8fGW5sQxYfRKIaeICv)

`Docker desktop`을 실행한 후 오른쪽 상단에 톱니바퀴(설정)에 들어가고 `Resources` 탭에 들어가면 `wsl`이 설치되는 경로가 설정되어 있으면 정상적으로 설정되었음을 확인할 수 있습니다.

![](/files/NoftxqZDwCOSxPB9JDjS)

또한 `명령 프롬프트`에서 `docker -v`를 입력해서 설치한 docker 버전이 출력되는지 확인하면 됩니다.

![](/files/F6MVGPLyG7lNwnco7db5)

### Docker Hub 로그인

커맨드 라인으로 진행할 예정이기 때문에 `Docker Hub`에 로그인을 해야 합니다.

`명령 프롬프트`에서 `docker login -u [ID]`을 실행해서 로그인을 해줍니다.

로그인이 성공했으면 아래와 같은 메시지가 나옵니다.

```
Login Succeeded
```

이제 docker 준비는 끝났습니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://soo-blogs.gitbook.io/dify-and-open-webui/install/1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
