얕고 넓게

[AI] Open-WebUI: Docker 설치 @Windows11 본문

IT/AI.ML

[AI] Open-WebUI: Docker 설치 @Windows11

블랙오닉스 2025. 4. 1. 23:22

2025.04.01

Open-WebUI 설정, 파일들에 대해 ChatGPT에 물어 봤더니 Docker기준 답변이 많다.

다시 공식사이트가서 보니 Docker가 추천이라고 한다.

python venv를 지우고 다시 설치해본다.

venv 환경도 3GB 가 넘는다.


Docker 설치 파일이 500GB , 현재 94GB 남음

설치 전 -> 설치 후

공시 사이트 대로 실행하면 에러만 나온다

 black  docker pull ghcr.io/open-webui/open-webui:main
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.47/images/create?fromImage=ghcr.io%2Fopen-webui%2Fopen-webui&tag=main": open //./pipe/docker_engine: The system cannot find the file specified.

Copilot에게 물어보니 관리자 모드, 인스톨, 엔진 시작,...

프로그램을 실행해본다 -> OK -> 다운로드 시작

 black  docker pull ghcr.io/open-webui/open-webui:main
main: Pulling from open-webui/open-webui
245f048c9f8a: Download complete
e4f80e741515: Download complete
4f4fb700ef54: Download complete
71a081806b06: Download complete
6e909acdb790: Download complete
c8dcb95dcc02: Download complete
8f9277341095: Download complete
f75125adc8ea: Download complete
67cdb545514b: Download complete
b4a6013a75d1: Download complete
4d96b217afa8: Download complete
5cca3004ff90: Download complete
83ce096e7902: Download complete
3e6bafb34603: Download complete
9eab895eb84c: Download complete

 

docker run -d -p 3000:8080 -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:main

일단 실행되는지 확인

docker ps
CONTAINER ID   IMAGE                                COMMAND           CREATED              STATUS                                 PORTS                    NAMES
c577da9d63c6   ghcr.io/open-webui/open-webui:main   "bash start.sh"   About a minute ago   Up About a minute (health: starting)   0.0.0.0:3000->8080/tcp   open-webui

 

localhost:3000으로 접속하면 된다.


실행하다가 다시 GPU 사용하는 옵션으로 설치-> 다시 설치한다?!!!

docker run -d -p 3000:8080 --gpus all -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:cuda
...
Status: Downloaded newer image for ghcr.io/open-webui/open-webui:cuda
docker: Error response from daemon: Conflict. The container name "/open-webui" is already in use by container "c577da9d63c60375ffec79e3855b18f7a57b67271f0cd6a7dd86b610d039b6c2". You have to remove (or rename) that container to be able to reuse that name.

 

에러 발생

컨테이너 이름이 같아서 그런것 같다.

에러메세지 대로 이름 바꾸기

docker rename open-webui open-webui-main

그런데 app/backend/data를 어디서 찾아야 하나.

powershell에서 /user/black는 없다.

 

Docker에서는 보인다.

컨테이너를 누르고 file 항목을 보면 app/backend/data 디렉토리가 보인다.

 

'IT > AI.ML' 카테고리의 다른 글

[AI] Open-WebUI: Docker 설치, 지우기, 다시... @Ubuntu  (0) 2025.04.03
[AI] Open-WebUI Development Guide  (0) 2025.03.21
[AI] Open-WebUI 설치 방법 정리  (0) 2025.03.19
[AI] GPU 모니터링  (0) 2025.03.12
[AI] Open-WebUI + Pipeline  (0) 2025.03.08