New Tool Radar

Local AI

How to Install Open WebUI with Docker and Open It for the First Time

Run the official Open WebUI Docker image, open it at localhost:3000, and confirm the page loads before you connect any model.

Schematic diagram with three steps: run the Open WebUI Docker container, open localhost 3000 in a browser, and confirm the welcome page loads.

Open WebUI is a self-hosted web interface for talking to language models — it manages users, stores chats, and talks to Ollama or any OpenAI-compatible API. The project ships an official container image, and the recommended install is a single Docker command.

Run the container

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

The -v open-webui:/app/backend/data volume holds the database with users, chats and settings, so they survive a container restart. The official quick start adds two flags: --add-host=host.docker.internal:host-gateway so the container can reach Ollama on your machine, and -e WEBUI_SECRET_KEY=your-secret-key (generate one with openssl rand -hex 32) so recreating the container does not log everyone out. Give the image a moment to pull — it is around 1–2 GB on first run — then check it started:

docker ps --filter name=open-webui

Open it

Open http://localhost:3000 in a browser. The first screen asks you to create an account — that first account becomes the administrator, covered in the separate admin-account guide. Open WebUI on its own is an interface, not a model: it needs a backend such as Ollama running, or an OpenAI-compatible connection, before it can answer. See the separate guide on using Open WebUI with Ollama for the usual pairing.

Check What you should see If you do not see it
Container runs docker ps shows the open-webui container up Docker is not running, or port 3000 is already in use
Page loads http://localhost:3000 shows the sign-up screen The image is still pulling — wait and retry
Volume exists Chats and accounts survive a container restart The -v volume was left out — data will be lost on recreate

Expected result. We checked the Open WebUI install guide for the Docker run command, the volume path and the first-run size, and the official features page for what Open WebUI is. We did not run Docker or Open WebUI, so the steps above are UNTESTED on this machine.

Limits

Binding the port to all interfaces exposes Open WebUI to your network — on a shared network, bind it to localhost only and set access control first. The :main tag moves with development; pin a version tag for a stable install.

Sources

Sources checked 2026-11-28.

See all