🗽

1. Docker 上部署 Open WebUI

在 Windows Docker Desktop 上部署 Open WebUI 非常方便,因为 Docker Desktop 已经处理好了所有复杂的环境。
 

notion image

Step 1: Install Docker

Before we begin, make sure you have Docker installed on your system. If not, download and install it from the official website.

Installing Docker on Windows 11

If you haven’t already, follow these steps to install Docker:
  • Run the installer and follow the prompts to complete the installation
  • Once installed, open a power shell or command prompt. Then verify that Docker is working correctly by running
docker --version

Step 2: Pull and Run the Open Web UI Image

Open a windows power shell or command prompt. Then run the following command to pull and run the `Ollama` specialized Open Web UI image as daemon:
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama

Step 3: Access Open Web UI

Open a web browser and navigate to
http://localhost:3000 (or http://your-local-ip:3000)
to access the Open Web UI dashboard. You’ll be prompted to set up an admin account. Which you can use to explore the features and functionality of the framework.
That’s it! With these simple steps, you should now have Open Web UI installed. And works with your Ollama pre-installed Windows 11 computer using Docker.
 
notion image
notion image
notion image
notion image
仅支持ollama上存在的模型,例如
notion image
但如果搜索类似Gemini会报错,因为ollama上不存在
notion image
notion image
notion image