# Quick Start

Source: https://docs.openwebui.com/getting-started/quick-start

Get Open WebUI running on your machine. Pick your preferred method below.

Open WebUI works on **macOS, Linux** (x86_64 and ARM64, including Raspberry Pi and NVIDIA DGX Spark), and **Windows**. A native Windows install with pip, uv or Conda suits personal use. For production, run Open WebUI on **Linux**.

- **Docker:** Officially supported and recommended for most users. Requires [Docker](https://docs.docker.com/get-docker/) installed.
- **Python:** Suitable for low-resource environments or manual setups
- **Kubernetes:** Ideal for enterprise deployments requiring scaling and orchestration

Requires [Docker](https://docs.docker.com/get-docker/). Replace `your-secret-key` with the output of `openssl rand -hex 32`, then run the command below; it pulls the image and starts it:

```
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data -e WEBUI_SECRET_KEY=your-secret-key --name open-webui --restart always ghcr.io/open-webui/open-webui:main
```

| Flag | What it does |
| --- | --- |
| -p 3000:8080 | The UI is on port 3000 of your machine. Change the left number if 3000 is taken. Keep the right number at 8080, the port Open WebUI listens on inside the container unless you set PORT. With -p 3000:3000 the page never loads. |
| -v open-webui:/app/backend/data | Your chats, users and settings live in this volume. It survives updates; never run without it. Mount it at /app/backend/data, not /app/backend: a mount at /app/backend covers the application code in the image, so the container runs whatever the mount holds and updates seem to change nothing. |
| --add-host=host.docker.internal:host-gateway | Lets the container reach Ollama, or anything else, running on your machine. |
| --restart always | Comes back after a reboot. |
| -e WEBUI_SECRET_KEY=your-secret-key | Set it once and keep it. Without a fixed key, every recreated container logs everyone out. Generate one with openssl rand -hex 32. |

The log line `Waiting for application startup.` appears on every normal start. Open WebUI accepts connections once the log shows `Uvicorn running on http://0.0.0.0:8080`.

## Image Variants

| Tag | Use case |
| --- | --- |
| :main | Standard image (recommended). Everything included: the app plus the bundled speech-to-text and embedding models. |
| :dev | Pre-release (nightly) build from the dev branch. Fixes and features arrive here first. See Using the Dev Branch. |
| :slim, :main-slim | About 197 MB instead of 1.62 GB to download, 88% smaller on Linux/amd64. Same chat experience with your model provider. See Why choose slim? |
| :cuda | Runs Open WebUI's own local models (embeddings, reranking, local Whisper) on an Nvidia GPU, CUDA 12.8 (add --gpus all to docker run). Chat replies are not faster; see GPU support |
| :cuda126 | Same as :cuda, built against CUDA 12.6 |
| :ollama | Bundles Ollama inside the container for an all-in-one setup |

Each variant also has a development build: `:dev-slim`, `:dev-cuda`, `:dev-cuda126` and `:dev-ollama`. The short tags `:slim`, `:cuda`, `:cuda126` and `:ollama` follow `main`. Choose one variant; slim does not combine with CUDA or bundled Ollama.

### Why choose slim?

**197 MB instead of 1.62 GB. Same chat experience.** The `:slim` image is **88% smaller** than `:main`, saving about **1.42 GB on a fresh pull**. That means less time downloading Open WebUI when you set up a machine or deploy a new instance. Use it with a hosted API, your own model server, or a separate Ollama instance, even one on the same machine.

These are compressed download sizes for Linux/amd64, checked on October 16, 2026. Sizes vary by build and architecture. `:slim` and `:main-slim` are two tags for the same image.

The saving comes from leaving out the bundled machine-learning stack, including PyTorch, local embedding and speech runtimes, plus document-processing tools and optional database and storage clients. If you use Open WebUI to chat with models through an API, those dependencies would otherwise sit unused in your container.

**To get started, change `:main` to `:slim` in the Docker command above.** The default SQLite database and local file storage work as usual. Connect your model provider and start chatting; no extra services are needed for a basic chat setup.

For knowledge search, document extraction or voice, slim connects to services that do that work. It is a good fit if you already use those services or only need chat. Choose the standard image if you want Open WebUI to handle embeddings, speech recognition and document extraction inside its own container. The table below covers the setup for each feature.

#### RAM usage

Slim used **about 300 MiB of RAM at idle** in our October 16, 2026 test of Open WebUI 0.12.3 on Linux/arm64 in Docker Desktop. This is the Open WebUI container alone; your browser, Docker's VM and any model server or external services need their own memory. Allow extra memory for startup and active workloads: this idle measurement is not a minimum RAM requirement or a container memory limit.

 How we measured

We ran three fresh containers with the default SQLite database and one Uvicorn worker, with no configured provider, users, chats, uploads or plugins. Each run used a new data directory and no memory limit. Docker's Linux VM had 16 CPUs and 7.65 GiB RAM available; other containers remained running.

After `/health` returned HTTP 200, we waited 30 seconds, then took 12 readings with five seconds between calls:

```
docker stats --no-stream --format '{{.MemUsage}}' <container-name>
```

Across all 36 samples, memory usage ranged from **291.8 to 292.6 MiB**, with a median of **292.2 MiB**.

On Linux, [Docker's reported memory usage](https://docs.docker.com/reference/cli/docker/container/stats/) excludes inactive file cache. These samples cover an idle instance, not model inference or concurrent chat traffic. Results vary with version, architecture, configuration and workload.

The pinned image was `ghcr.io/open-webui/open-webui@sha256:abd02d41e522d41be389d28d1a73752cd2afc4aa46f980b60d490ecc9379c16b` (Linux/arm64, commit `91ea4e3421d1d8069f13d4a463fcb5986d94ea60`).

#### Moving an existing deployment to slim

Check your database and file storage before switching:

- **Database:** SQLite and PostgreSQL work on slim, the two databases Open WebUI supports. AWS RDS IAM authentication for PostgreSQL requires the standard image.
- **File storage:** Local files and S3 (`STORAGE_PROVIDER=s3`) are supported. Azure Blob and Google Cloud Storage require the standard image.

Slim checks these settings at startup and reports an error for unsupported configurations. Default installs already use SQLite and local files.

#### What each feature needs

| If you want | Point slim at | Otherwise |
| --- | --- | --- |
| Documents, knowledge or RAG | An embedding provider: RAG_EMBEDDING_ENGINE set to ollama, openai or azure_openai | Embedding calls fail with 503, and the admin panel refuses to save the local engine |
|  | PostgreSQL with pgvector, slim's default and only vector store. It uses DATABASE_URL when that points at PostgreSQL; otherwise set PGVECTOR_DB_URL | 503 the first time retrieval runs. Nothing else is affected, the store is only opened when it is used |
| PDFs and Office files | Tika, Docling, an external extractor or a cloud engine | Uploading one returns 503. Plain text formats are still read by slim itself |
| Voice input | Any external speech-to-text engine: OpenAI, Deepgram, Azure, Mistral and so on | Local Whisper is not offered, and the admin panel refuses to select it |
| Spoken replies | Any external text-to-speech engine | The local Transformers voice is not offered, and requesting speech returns 503 |
| Web search | Any provider other than DDGS | DDGS is greyed out in the admin panel and refused on save |
| Reranking | An external reranker | Selecting a local reranking model is refused |
| Code interpreter | Nothing, but the browser fetches the Python packages from cdn.jsdelivr.net rather than from your instance | Running code fails where the browser cannot reach that CDN |

Also unavailable: the **Playwright** web loader, so pages are fetched over plain HTTP or by an external web loader, and the **Transformers** text splitter, so use the character or the tiktoken token splitter. Slim carries no `git` either, so a tool or function whose requirements install straight from a repository needs the standard image.

If you use Open WebUI as a chat front end for hosted models, none of the above applies and slim is simply the smaller image.

#### What still works without a service

- **Plain text extraction.** `csv`, `html`, `txt`, `md`, `markdown`, `rst`, `xml` and anything else detected as text are read by slim itself.
- **Reranking, in a fashion.** Leave the reranking model empty and results are scored by cosine similarity against the embeddings you already have, which needs no model runtime.
- **Audio passthrough.** Speech from an external provider is served in the format that provider returned, since slim cannot transcode. A provider that answers with something a browser cannot play is rejected rather than stored.

#### Building it yourself

The standard and slim images install every Python package except PyTorch and its companion packages from the hash-pinned lock files `backend/requirements.lock` and `backend/requirements-slim.lock`. A custom image that edits `backend/requirements.txt` or `backend/requirements-slim.txt` must run `backend/update-locks.sh` (needs [uv](https://docs.astral.sh/uv/)) to regenerate the locks, or the edit has no effect.

`USE_SLIM=true` cannot be combined with `USE_CUDA=true` or `USE_OLLAMA=true`. The build stops with an error rather than producing an image whose GPU support or bundled model server has nothing to run.

#### Offline and air-gapped

Slim never downloads a model, because it cannot run one, and an air-gapped deployment otherwise only has to reach whichever services it uses on your own network. `OFFLINE_MODE=true` still blocks the Hugging Face traffic and the version check.

Two features reach the internet on first use. The **token text splitter** downloads its tiktoken encoding, so offline instances should use the character splitter. The **code interpreter** has the browser pull its Python packages from `cdn.jsdelivr.net`, because slim ships only the Pyodide runtime while the standard image bundles them. Air-gapped instances should leave the code interpreter off, or use the standard image.

### How the tags update

`:main` and `:latest` are the **same rolling image**: both point to the newest build from the `main` branch and are rebuilt every time a change lands there, so their digest moves forward as development continues. Note that `:latest` follows `main`; it does **not** point to the newest stable release.

`:dev` is the same idea for the `dev` branch, also rolling. That is the pre-release, effectively a nightly build, and it carries fixes and features weeks before they appear under `:main`.

Version tags, such as `:vX.Y.Z` and the shorter `:X.Y.Z`, are **pinned** to one stable release and never change. `:X.Y` follows the newest patch release of that minor line. `:git-<short-sha>` pins one exact commit.

This is why `:main` and a specific release tag can show different image digests at the same time: `:main` already includes everything merged since that release, while the version tag stays frozen at it.

| Tag | Points to | Immutable? |
| --- | --- | --- |
| :main, :latest | Newest build of the main branch | No (rolling) |
| :dev | Newest build of the dev branch, the pre-release | No (rolling) |
| :vX.Y.Z, :X.Y.Z | A specific stable release | Yes |
| :X.Y | The newest patch release of that minor line | No (rolling within the minor) |
| :git-<sha> | One exact commit | Yes |

For reproducible or production deployments, pin a version tag. For the newest build, use `:main` (or the identical `:latest`). For the next release before it is released, use `:dev`.

### Specific release versions

For production environments, pin a specific version instead of using floating tags. Replace `X.Y.Z` with a version from the [releases page](https://github.com/open-webui/open-webui/releases):

```
docker pull ghcr.io/open-webui/open-webui:vX.Y.Z
docker pull ghcr.io/open-webui/open-webui:vX.Y.Z-slim
docker pull ghcr.io/open-webui/open-webui:vX.Y.Z-cuda
docker pull ghcr.io/open-webui/open-webui:vX.Y.Z-ollama
```

> **Docker Hub**
>
> The same images are mirrored to Docker Hub as `openwebui/open-webui`, but only a subset: `latest`, `latest-<variant>` and the bare `<variant>` tags (for example `slim`, `cuda`, `ollama`) follow `main`, and `X.Y.Z` / `X.Y`, with or without a variant suffix, follow releases. `:main`, `:dev`, `:vX.Y.Z` and `:git-<sha>` exist on ghcr.io only, which is why every command in these docs uses `ghcr.io/open-webui/open-webui`.

---

## Common Configurations

### GPU support (Nvidia)

```
docker run -d -p 3000:8080 --gpus all --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data -e WEBUI_SECRET_KEY=your-secret-key --name open-webui --restart always ghcr.io/open-webui/open-webui:cuda
```

The `:cuda` image runs the local embedding model, the local reranking model and local Whisper speech-to-text on the GPU. Chat replies come from Ollama or your provider, so their speed depends on where that model runs: give the GPU to Ollama. If the container cannot use CUDA, Open WebUI logs `CUDA unavailable (USE_CUDA_DOCKER=true), falling back to CPU` followed by the reason, and runs those models on the CPU. Started without `--gpus all`, the line ends in `CUDA not available`.

`--gpus all` needs the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) on the host. Without it, `docker run` fails with `could not select device driver "" with capabilities: [[gpu]]` and no container starts. Install the toolkit, run `sudo nvidia-ctk runtime configure --runtime=docker`, restart Docker with `sudo systemctl restart docker`, then run the command again. Docker's [GPU access](https://docs.docker.com/engine/containers/gpu/) page lists the driver steps.

There is no ROCm image of Open WebUI. With an AMD GPU, run the `:main` image and give the GPU to Ollama's `rocm` image, as shown in [Ollama's Docker guide](https://docs.ollama.com/docker).

### Bundled with Ollama

A single container with Open WebUI and Ollama together:

**With GPU:** `--gpus=all` passes an NVIDIA GPU and needs the NVIDIA Container Toolkit, as in [GPU support](#gpu-support-nvidia). For an AMD GPU, use the ROCm setup described there instead.

```
docker run -d -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data -e WEBUI_SECRET_KEY=your-secret-key --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama
```

**CPU only:**

```
docker run -d -p 3000:8080 -v ollama:/root/.ollama -v open-webui:/app/backend/data -e WEBUI_SECRET_KEY=your-secret-key --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama
```

To check whether a chat model is using the GPU, send a message and run `ollama ps` while the model is still loaded. Check the `PROCESSOR` column for CPU, GPU, or a split between them.

- For bundled Ollama, run `docker exec open-webui ollama ps`.
- For a separate Ollama container, run `docker exec ollama ollama ps` or substitute its container name.
- For a native install, run `ollama ps` on the machine serving the model.

Match the instance to the Ollama URL in **Admin Panel > Settings > Connections**. A device check such as `nvidia-smi` can confirm GPU visibility, while `ollama ps` shows where Ollama loaded the specific model.

### Connecting to Ollama on a different server

```
docker run -d -p 3000:8080 -e OLLAMA_BASE_URL=https://example.com -v open-webui:/app/backend/data -e WEBUI_SECRET_KEY=your-secret-key --name open-webui --restart always ghcr.io/open-webui/open-webui:main
```

### Single-user mode (no login)

```
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -e WEBUI_AUTH=False -v open-webui:/app/backend/data -e WEBUI_SECRET_KEY=your-secret-key --name open-webui --restart always ghcr.io/open-webui/open-webui:main
```

> **warning**
>
> You cannot switch between single-user mode and multi-account mode after this change.

---

## Using the Dev Branch

`:dev` is Open WebUI's pre-release channel, and in practice a nightly build: the image is rebuilt from the `dev` branch as changes land, and every change lands there before it lands anywhere else. There is no separate beta programme, because `dev` fills that role. Changes that reach it are not reverted, so the next release is `dev` as it stands on release day.

That has two consequences worth knowing:

- **If you are waiting on a fix, it is probably already available.** Check the [changelog](https://github.com/open-webui/open-webui/blob/dev/CHANGELOG.md) on `dev`, then run `:dev` rather than waiting for the release.
- **If you run Open WebUI for other people, testing the pre-release is how you avoid surprises.** A second instance on `:dev` shows you the next release before your users meet it, and tells you whether your plugins, your models and your configuration still behave.

Whether to run it is entirely your decision, and running it is what makes releases good. A pre-release is only as well tested as the number of people who choose to install it, and that number is currently small.

Setup is the same as any other image, with the tag changed:

```
docker run -d -p 3001:8080 --add-host=host.docker.internal:host-gateway -v open-webui-dev:/app/backend/data -e WEBUI_SECRET_KEY=your-secret-key --name open-webui-dev --restart always ghcr.io/open-webui/open-webui:dev
```

> **Use a separate volume**
>
> **Never share a data volume between dev and production.** Dev builds may include database migrations that a release image cannot read back, so a shared volume can leave you unable to go back to `:main`. The `-v open-webui-dev:/app/backend/data` above is a different volume from the `open-webui` one used on the Quick Start, and that is deliberate. The container name differs too, so both can run at once.

Anything that looks wrong on `:dev` is worth reporting on [GitHub](https://github.com/open-webui/open-webui/issues). Reports at that stage get fixed before the release instead of after it, which is the whole point of a pre-release existing.

If Docker is not your preference, follow the [Developing Open WebUI](/getting-started/advanced-topics/development).

---

## Uninstall

### With docker run

1. **Stop and remove the container:**

```
docker rm -f open-webui
```
2. **Remove the image (optional):**

```
docker rmi ghcr.io/open-webui/open-webui:main
```
3. **Remove the volume (optional, deletes all data):**

```
docker volume rm open-webui
```

## Updating

To update your local Docker installation to the latest version, you can either use **Watchtower** or manually update the container.

### Option 1: Using Watchtower

With [Watchtower](https://github.com/nicholas-fedor/watchtower), you can automate the update process:

```
docker run --rm --volume /var/run/docker.sock:/var/run/docker.sock nickfedor/watchtower --run-once open-webui
```

_(Replace `open-webui` with your container's name if it's different.)_

### Option 2: Manual Update

1. Stop and remove the current container:

```
docker rm -f open-webui
```
2. Pull the latest version:

```
docker pull ghcr.io/open-webui/open-webui:main
```

Pull the same tag you run, such as `:cuda`, `:ollama` or a version tag, and use it again in step 3. Pulling `:main` does not update the image of a container started from `:cuda`, so it starts the old version again.
3. Start the container again:

```
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data \
  -e WEBUI_SECRET_KEY="your-secret-key" \
  --name open-webui --restart always \
  ghcr.io/open-webui/open-webui:main
```

> **Set WEBUI_SECRET_KEY**
>
> Without a persistent `WEBUI_SECRET_KEY`, you'll be logged out every time the container is recreated. Generate one with `openssl rand -hex 32`.

For version pinning, rollback, automated update tools, and backup procedures, see the [full update guide](/getting-started/updating).

Save this as `docker-compose.yml`, replace the secret key with the output of `openssl rand -hex 32`, then run `docker compose up -d`:

```
services:
  open-webui:
    image: ghcr.io/open-webui/open-webui:main
    ports:
      - "3000:8080"
    volumes:
      - open-webui:/app/backend/data
    extra_hosts:
      - host.docker.internal:host-gateway
    environment:
      - WEBUI_SECRET_KEY=your-secret-key
    restart: unless-stopped

volumes:
  open-webui:
```

`extra_hosts` makes `host.docker.internal` resolve to the host on Linux. With no `OLLAMA_BASE_URL` set, the image looks for Ollama at `http://host.docker.internal:11434` (then `:12434`), so this line is what lets it reach an Ollama running on the host.

To update, run `docker compose pull` and then `docker compose up -d`. The Watchtower command on the Updating tab targets a container named `open-webui`; Compose names this one `<project>-open-webui-1` unless you add `container_name: open-webui` to the service.

The tags are the same as on the Docker tab: change the `image:` line. To try `:dev`, add it as a second service with its own volume and port, see [Running the pre-release image](/getting-started/quick-start#running-the-pre-release-image). Use Docker Compose v2 (`docker compose`, with a space).

The sections below extend the `docker-compose.yml` above.

> **warning**
>
> **Warning:** Older Docker Compose tutorials may reference version 1 syntax, which uses commands like `docker-compose build`. Ensure you use version 2 syntax, which uses commands like `docker compose build` (note the space instead of a hyphen).

### Running the pre-release image

`:dev` is Open WebUI's pre-release channel, and in practice a nightly build: every change lands on the `dev` branch before it lands anywhere else, and the next release is `dev` as it stands on release day. Running it on a second instance shows you that release early, and anything you report gets fixed before it ships rather than after.

Change the tag and, importantly, give it a **separate volume and a separate port**:

```
services:
  openwebui-dev:
    image: ghcr.io/open-webui/open-webui:dev
    ports:
      - "3001:8080"
    volumes:
      - open-webui-dev:/app/backend/data
    extra_hosts:
      - host.docker.internal:host-gateway
    environment:
      - WEBUI_SECRET_KEY=your-dev-secret-key
    restart: unless-stopped
volumes:
  open-webui-dev:
```

> **Never point dev at your production volume**
>
> Dev builds may include database migrations that a release image cannot read back, so a shared volume can leave you unable to go back to `:main`. Keep `open-webui-dev` as its own volume, as above.

Add this as a second service alongside your normal one and both run at the same time, on ports 3000 and 3001. Report anything that looks wrong on [GitHub](https://github.com/open-webui/open-webui/issues). A pre-release is only as well tested as the number of people who choose to install it, so this is the single most useful thing an operator can contribute.

### GPU support with Compose

> **note**
>
> **Note:** For Nvidia GPU support, you change the image from `ghcr.io/open-webui/open-webui:main` to `ghcr.io/open-webui/open-webui:cuda` and add the following to your service definition in the `docker-compose.yml` file:

```
deploy:
  resources:
    reservations:
      devices:
        - driver: nvidia
          count: all
          capabilities: [gpu]
```

This setup ensures that your application can leverage GPU resources when available. The `:cuda` image moves Open WebUI's own local models (embedding, reranking, and Whisper speech-to-text) to the GPU; Ollama's models use a GPU only if the Ollama container has one. The `driver: nvidia` reservation needs the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) on the host, the same as `--gpus all` in [GPU support](#gpu-support-nvidia). If no GPU is visible, the image falls back to the CPU and logs `CUDA unavailable (USE_CUDA_DOCKER=true), falling back to CPU`. For the pre-release channel the tag is `:dev-cuda`.

### Helper Scripts

A set of helper scripts is included with the codebase to streamline common Docker workflows:

- `docker-compose-launcher.sh`: Interactive Compose launcher with GPU auto-detection, configurable WebUI/API ports, a host data mount for Ollama's models, and optional Playwright support. It runs the repository's own `docker-compose.yaml`, not the file above, which starts Ollama in a second container next to Open WebUI. That Ollama publishes no port on your machine; `--enable-api` adds `docker-compose.api.yaml` and publishes it on port `11435`. `--build` builds the image from your checkout instead of pulling it. Run `./docker-compose-launcher.sh --help` for the full list of flags. Use `--drop` to tear down the project. Put options with square brackets in quotes, as in `./docker-compose-launcher.sh '--enable-gpu[count=1]'`, since zsh (the default shell on macOS) otherwise stops with `no matches found`.
- `docker-cleanup.sh`: Stops the Compose project and **deletes all volumes** with `docker compose down -v`, including your chats and the Ollama volume with every downloaded model. Prompts for confirmation before destroying data.
- `docker-run.sh`: Builds the Open WebUI image and runs a single container, exposing it on `OPEN_WEBUI_PORT` (default `3000`). It sets no `WEBUI_SECRET_KEY`, so add one to its `docker run` line before using the container for anything beyond a quick test.
- `docker-ollama.sh`: Pulls and runs the official Ollama container with optional GPU passthrough, exposing it on `OLLAMA_PORT` (default `11434`).
- `docker-update-models.sh`: Iterates through every model installed in the Ollama container and pulls the latest version.

---

## Uninstall

1. **Stop and Remove the Services:** Run this command in the directory containing your `docker-compose.yml` file:

```
docker compose down
```
2. **Remove the Volume (Optional, WARNING: Deletes all data):** If you want to completely remove your data (chats, settings, etc.):

```
docker compose down -v
```

Or manually:

```
docker volume rm <your_project_name>_open-webui
```
3. **Remove the Image (Optional):**

```
docker rmi ghcr.io/open-webui/open-webui:main
```

# Docker Desktop Extension

Docker has released an Open WebUI Docker extension that uses Docker Model Runner for inference. You can read their getting started blog here: [Run Local AI with Open WebUI + Docker Model Runner](https://www.docker.com/blog/open-webui-docker-desktop-model-runner/)

You can find troubleshooting steps for the extension in their Github repository: [Open WebUI Docker Extension - Troubleshooting](https://github.com/rw4lll/open-webui-docker-extension?tab=readme-ov-file#troubleshooting)

While this is an amazing resource to try out Open WebUI with little friction, it is not an officially supported installation method - you may run into unexpected bugs or behaviors while using it. For example, you are not able to log in as different users in the extension since it is designed to be for a single local user. If you run into issues using the extension, please submit an issue on the extension's [Github repository](https://github.com/rw4lll/open-webui-docker-extension).

# Using Podman

Podman is a daemonless container engine for developing, managing, and running OCI Containers.

## Basic Commands

- **Run a Container:**

```
podman run -d --name openwebui -p 3000:8080 -v open-webui:/app/backend/data -e WEBUI_SECRET_KEY=your-secret-key ghcr.io/open-webui/open-webui:main
```
- **List Running Containers:**

```
podman ps
```

## Networking with Podman

If networking issues arise (specifically on rootless Podman), you may need to adjust the network bridge settings.

> **Slirp4netns Deprecation**
>
> Older Podman instructions often recommended `slirp4netns`. However, `slirp4netns` is being **deprecated** and will be removed in **Podman 6**.
>
>
>
> The modern successor is **[pasta](https://passt.top/passt/about/)**, which is the default in Podman 5.0+.

### Accessing the Host (Local Services)

If you are running Ollama or other services directly on your host machine, use the special DNS name **`host.containers.internal`** to point to your computer.

#### Modern Approach (Pasta - Default in Podman 5+)

No special flags are usually needed to access the host via `host.containers.internal`.

#### Legacy Approach (Slirp4netns)

If you are on an older version of Podman and `pasta` is not available:

1. Ensure you have [slirp4netns installed](https://github.com/rootless-containers/slirp4netns).
2. Start the container with the following flag to allow host loopback:

```
podman run -d --network=slirp4netns:allow_host_loopback=true --name openwebui -p 3000:8080 -v open-webui:/app/backend/data -e WEBUI_SECRET_KEY=your-secret-key ghcr.io/open-webui/open-webui:main
```

### Connection Configuration

Once inside Open WebUI, go to your avatar > **Settings > Connections** (admin section) and set your Ollama API connection to: `http://host.containers.internal:11434`

To have it set before the first start instead, add `-e OLLAMA_BASE_URL=http://host.containers.internal:11434` to the `podman run` command. The image's default, `http://host.docker.internal:11434`, does not resolve under Podman.

Refer to the Podman [documentation](https://podman.io/) for advanced configurations.

## Uninstall

To uninstall Open WebUI running with Podman, follow these steps:

1. **Stop and Remove the Container:**

```
podman rm -f openwebui
```
2. **Remove the Image (Optional):**

```
podman rmi ghcr.io/open-webui/open-webui:main
```
3. **Remove the Volume (Optional, WARNING: Deletes all data):** If you want to completely remove your data (chats, settings, etc.):

```
podman volume rm open-webui
```

# Podman Quadlets (systemd)

Podman Quadlets allow you to manage containers as native systemd services. This is the recommended way to run production containers on Linux distributions that use systemd (like Fedora, RHEL, Ubuntu, etc.).

## Setup

1. **Create the configuration directory:** For a rootless user deployment:

```
mkdir -p ~/.config/containers/systemd/
```
2. **Create the container file:** Create a file named `~/.config/containers/systemd/open-webui.container` with the following content:

```
[Unit]
Description=Open WebUI Container
After=network-online.target

[Container]
Image=ghcr.io/open-webui/open-webui:main
ContainerName=open-webui
PublishPort=3000:8080
Volume=open-webui:/app/backend/data
Environment=WEBUI_SECRET_KEY=your-secret-key

# Networking: Pasta is used by default in Podman 5+
# If you need to access host services (like Ollama on the host):
AddHost=host.containers.internal:host-gateway
Environment=OLLAMA_BASE_URL=http://host.containers.internal:11434

[Service]
Restart=always

[Install]
WantedBy=default.target
```
3. **Reload systemd and start the service:**

```
systemctl --user daemon-reload
systemctl --user start open-webui
```
4. **Enable auto-start on boot:**

```
systemctl --user enable open-webui
```

## Management

- **Check status:**

```
systemctl --user status open-webui
```
- **View logs:**

```
journalctl --user -u open-webui -f
```
- **Stop service:**

```
systemctl --user stop open-webui
```

> **Updating**
>
> To update the image, simply pull the new version (`podman pull ghcr.io/open-webui/open-webui:main`) and restart the service (`systemctl --user restart open-webui`).

# Podman Kube Play Setup

Podman supports Kubernetes like-syntax for deploying resources such as pods, volumes without having the overhead of a full Kubernetes cluster. [More about Kube Play](https://docs.podman.io/en/latest/markdown/podman-kube-play.1.html).

If you don't have Podman installed, check out [Podman's official website](https://podman.io/docs/installation).

## Example `play.yaml`

Here is an example of a Podman Kube Play file to deploy:

```
apiVersion: v1
kind: Pod
metadata:
  name: open-webui
spec:
  containers:
    - name: container
      image: ghcr.io/open-webui/open-webui:main
      env:
        - name: WEBUI_SECRET_KEY
          value: your-secret-key
      ports:
        - name: http
          containerPort: 8080
          hostPort: 3000
      volumeMounts:
        - mountPath: /app/backend/data
          name: data
  volumes:
    - name: data
      persistentVolumeClaim:
        claimName:  open-webui-pvc
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: open-webui-pvc
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 5Gi
```

## Starting

To start your pod, run the following command:

```
podman kube play ./play.yaml
```

## Using GPU Support

The `:cuda` image moves Open WebUI's own local models (embedding, reranking, and Whisper speech-to-text) to the GPU; Ollama's models are unaffected. For Nvidia GPU support, you need to replace the container image with `ghcr.io/open-webui/open-webui:cuda` and need to specify the device (GPU) required in the pod resources limits as followed:

```
      [...]
      resources:
        limits:
          nvidia.com/gpu=all: 1
      [...]
```

> **important**
>
> To successfully have the open-webui container access the GPU(s), you will need to have the Container Device Interface (CDI) for the GPU you wish to access installed in your Podman Machine. You can check [Podman GPU container access](https://podman-desktop.io/docs/podman/gpu).

## Docker Swarm

The [Docker Swarm guide](/deployment/docker-swarm) deploys Open WebUI, ChromaDB and Ollama as a Swarm stack, with and without a GPU.

# Using Docker with WSL (Windows Subsystem for Linux)

This guide provides instructions for setting up Docker and running Open WebUI in a Windows Subsystem for Linux (WSL) environment.

## Step 1: Install WSL

If you haven't already, install WSL by following the official Microsoft documentation:

[Install WSL](https://learn.microsoft.com/en-us/windows/wsl/install)

## Step 2: Install Docker Desktop

Docker Desktop is the easiest way to get Docker running in a WSL environment. It handles the integration between Windows and WSL automatically.

1. **Download Docker Desktop:** [https://www.docker.com/products/docker-desktop/](https://www.docker.com/products/docker-desktop/)
2. **Install Docker Desktop:** Follow the installation instructions, making sure to select the "WSL 2" backend during the setup process.

## Step 3: Configure Docker Desktop for WSL

1. **Open Docker Desktop:** Start the Docker Desktop application.
2. **Enable WSL Integration:**

- Go to **Settings > Resources > WSL Integration**.
- Make sure the "Enable integration with my default WSL distro" checkbox is selected.
- If you are using a non-default WSL distribution, select it from the list.

## Step 4: Run Open WebUI

Now you can run Open WebUI by following the standard Docker instructions from within your WSL terminal.

```
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data -e WEBUI_SECRET_KEY=your-secret-key --name open-webui --restart always ghcr.io/open-webui/open-webui:main
```

## Important Notes

- **Run Docker Commands in WSL:** Always run `docker` commands from your WSL terminal, not from PowerShell or Command Prompt.
- **File System Access:** When using volume mounts (`-v`), make sure the paths are accessible from your WSL distribution.

> **Python version compatibility**
>
> Open WebUI supports **Python 3.11 and 3.12**. **Python 3.13 is not supported**: some dependencies have no 3.13-compatible release, so installs on 3.13 fail or break at runtime.
>
>
> - **For production**, run the **Docker image** or use the **latest Python 3.12**, on **Linux**. The Docker image runs Python 3.12 on Debian 13.
> - **On Windows**, a pip, uv or Conda install works for personal use. Use Linux for production.
> - **Python 3.11 also works** for a pip install.
>
>
>
> If pip reports that your Python version is unsupported, activate the environment you want to install into, then check it:
>
>
>
> ```
> python --version
> python -m pip --version
> ```
>
>
>
> Installing Python 3.12 separately does not change the interpreter in an existing environment. If the version is wrong, create a new environment with Python 3.12, activate it, and run `python -m pip install open-webui` to install using that interpreter.

> **System packages**
>
> A Python install does not bring ffmpeg, which the standard Docker image includes. Install it with your operating system's package manager and make sure `ffmpeg` is on the `PATH` of the shell that runs `open-webui serve`. Speech-to-text uses it to convert, compress and split audio, and text-to-speech uses it to convert replies from an OpenAI-compatible engine that are not MP3. Without it the server log shows `Couldn't find ffmpeg or avconv` and those steps fail. See [Audio Troubleshooting](/troubleshooting/audio#ffmpeg-missing-on-a-pip-install).

> **No NVIDIA GPU?**
>
> On Linux x86_64, installing `open-webui` from PyPI pulls in the default PyTorch build, which brings the NVIDIA CUDA libraries along whatever GPU the machine has. On a machine without an NVIDIA GPU, install the CPU build of PyTorch first, in the same environment, and the Open WebUI install leaves them out:
>
>
>
> ```
> pip install torch --index-url https://download.pytorch.org/whl/cpu
> ```
>
>
>
> With uv, run the same command as `uv pip install`. For GPU acceleration on AMD, install the ROCm build from [PyTorch's install page](https://pytorch.org/get-started/locally/) instead.

> **.env in your start folder is not read**
>
> A pip, uv or Conda install ignores a `.env` file in the folder you run `open-webui serve` from. It reads only `<env>/lib/python3.12/.env` with Python 3.12 (`<env>\Lib\.env` on Windows). Export your variables in the shell or service unit, or set them on the command line as in the examples below. See [`.env` file ignored by pip, uv and Conda installs](/reference/env-configuration#env-file-ignored-by-pip-uv-and-conda-installs) for how to print the exact path.

```
python -m pip install open-webui
open-webui serve
```

Open WebUI runs at [http://localhost:8080](http://localhost:8080). Set `DATA_DIR` to choose where your data lives, for example `DATA_DIR=~/.open-webui open-webui serve`. Use `--host` and `--port` to change the bind address, for example `open-webui serve --port 3000`.

The command signs sessions with a key it writes to `.webui_secret_key` in the directory you start it from. Set `WEBUI_SECRET_KEY` in the environment, or always start from the same directory; a new key signs everyone out.

**Command not found?** Activate the environment you installed into; the `open-webui` command lives in its `bin` folder (`Scripts` on Windows).

**Need a fix that is not released yet?** PyPI carries releases only. Run the Docker `:dev` image beside your install with its own volume, or run from the `dev` branch as described in [Developing Open WebUI](/getting-started/advanced-topics/development). Installing from a source checkout or a Git URL runs the build hook, which needs Node.js and npm to build the frontend; the PyPI wheel does not.

## Uninstall

1. **Uninstall the package:**

```
pip uninstall open-webui
```
2. **Remove data (optional, deletes all data):** delete the directory you set as `DATA_DIR`. Without it, the data is in `site-packages/open_webui/data` inside the environment, which `pip uninstall` leaves in place because it was created at run time.

```
rm -rf ~/.open-webui
```

# Updating with Python

To update your locally installed **Open-WebUI** package to the latest version using `pip`, follow these simple steps:

```
pip install -U open-webui
```

The `-U` (or `--upgrade`) flag ensures that `pip` upgrades the package to the latest available version.

After upgrading, restart the server and verify it starts correctly:

```
open-webui serve
```

> **Multiple workers**
>
> Migrations run at startup in every process. If you run with `UVICORN_WORKERS` above `1`, start the new version with `UVICORN_WORKERS=1`, wait until the migrations finish, then restart. Running more than one worker is not recommended; scale with [replicas](/getting-started/advanced-topics/scaling#step-3-run-multiple-instances) instead.

For version pinning, rollback, and backup procedures, see the [full update guide](/getting-started/updating).

## Installation with `uv`

The `uv` runtime manager ensures seamless Python environment management for applications like Open WebUI. Follow these steps to get started:

### 1. Install `uv`

Pick the appropriate installation command for your operating system:

- **macOS/Linux**:

```
curl -LsSf https://astral.sh/uv/install.sh | sh
```
- **Windows**:

```
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
```

### 2. Run Open WebUI

Once `uv` is installed, running Open WebUI is a breeze. Use the command below, ensuring to set the `DATA_DIR` environment variable to avoid data loss. Example paths are provided for each platform:

- **macOS/Linux**:

```
DATA_DIR=~/.open-webui uvx --python 3.12 open-webui@latest serve
```
- **Windows** (PowerShell):

```
$env:DATA_DIR="C:\open-webui\data"; uvx --python 3.12 open-webui@latest serve
```

Open WebUI runs at [http://localhost:8080](http://localhost:8080).

> **Why set DATA_DIR?**
>
> Setting `DATA_DIR` ensures your chats and settings are saved in a predictable location. If you don't set it, `uvx` might store it in a temporary folder that gets deleted when the process ends.

### Uninstall

To remove Open WebUI when running with `uvx`:

1. **Stop the Server:** Press `Ctrl+C` in the terminal where it's running.
2. **Uninstall from UV:** Enter `uv tool uninstall open-webui`
3. **Available cleanup commands:** The `uvx` command runs the application ephemerally or from cache. To remove cached components:

```
uv cache clean
```
4. **Remove Data (WARNING: Deletes all data):** Delete the directory you set as `DATA_DIR`. Without it, the data was inside the cached tool environment cleared above, which is why the tip above tells you to set one:

```
rm -rf ~/.open-webui
```

---

# Updating with Python

To update your locally installed **Open-WebUI** package to the latest version using `pip`, follow these simple steps:

```
pip install -U open-webui
```

The `-U` (or `--upgrade`) flag ensures that `pip` upgrades the package to the latest available version.

After upgrading, restart the server and verify it starts correctly:

```
open-webui serve
```

> **Multiple workers**
>
> Migrations run at startup in every process. If you run with `UVICORN_WORKERS` above `1`, start the new version with `UVICORN_WORKERS=1`, wait until the migrations finish, then restart. Running more than one worker is not recommended; scale with [replicas](/getting-started/advanced-topics/scaling#step-3-run-multiple-instances) instead.

For version pinning, rollback, and backup procedures, see the [full update guide](/getting-started/updating).

## Install with Conda

1. **Create a Conda Environment:**

```
conda create -n open-webui python=3.12
```
2. **Activate the Environment:**

```
conda activate open-webui
```
3. **Install Open WebUI:**

```
python -m pip install open-webui
```
4. **Start the Server:**

```
open-webui serve
```

> **'open-webui: command not found'?**
>
> If your terminal says the command doesn't exist:
>
>
> 1. Ensure your conda environment is **activated** (`conda activate open-webui`).
> 2. If you want to store your data in a specific place, use (Linux/Mac): `DATA_DIR=./data open-webui serve` or (Windows): `$env:DATA_DIR=".\data"; open-webui serve`

### Uninstall

1. **Remove the Conda Environment:**

```
conda remove --name open-webui --all
```
2. **Remove Data (WARNING: Deletes all data):** Without `DATA_DIR`, the data directory sits inside the environment (`.../site-packages/open_webui/data`), so removing the environment above already deletes it. If you set `DATA_DIR`, delete that directory:

```
rm -rf ~/.open-webui
```

---

# Updating with Python

To update your locally installed **Open-WebUI** package to the latest version using `pip`, follow these simple steps:

```
pip install -U open-webui
```

The `-U` (or `--upgrade`) flag ensures that `pip` upgrades the package to the latest available version.

After upgrading, restart the server and verify it starts correctly:

```
open-webui serve
```

> **Multiple workers**
>
> Migrations run at startup in every process. If you run with `UVICORN_WORKERS` above `1`, start the new version with `UVICORN_WORKERS=1`, wait until the migrations finish, then restart. Running more than one worker is not recommended; scale with [replicas](/getting-started/advanced-topics/scaling#step-3-run-multiple-instances) instead.

For version pinning, rollback, and backup procedures, see the [full update guide](/getting-started/updating).

## Using Virtual Environments

Create isolated Python environments using `venv`.

### Venv Steps

1. **Create a Virtual Environment:**

With Python 3.12 installed, select it explicitly:

- On Linux/macOS:

```
python3.12 -m venv venv
```
- On Windows with the Python launcher:

```
py -3.12 -m venv venv
```
2. **Activate the Virtual Environment:**

- On Linux/macOS:

```
source venv/bin/activate
```
- On Windows:

```
venv\Scripts\activate
```
3. **Install Open WebUI:**

```
python -m pip install open-webui
```
4. **Start the Server:**

```
open-webui serve
```

> **'open-webui: command not found'?**
>
> If your terminal says the command doesn't exist:
>
>
> 1. Ensure your virtual environment is **activated** (Step 2).
> 2. If you want to store your data in a specific place, use: `DATA_DIR=./data open-webui serve`

### Uninstall

1. **Delete the Virtual Environment:** Simply remove the `venv` folder:

```
rm -rf venv
```
2. **Remove Data (WARNING: Deletes all data):** Without `DATA_DIR`, the data directory sits inside the venv (`.../site-packages/open_webui/data`), so removing the `venv` folder above already deletes it. If you set `DATA_DIR`, delete that directory:

```
rm -rf ~/.open-webui
```

---

# Updating with Python

To update your locally installed **Open-WebUI** package to the latest version using `pip`, follow these simple steps:

```
pip install -U open-webui
```

The `-U` (or `--upgrade`) flag ensures that `pip` upgrades the package to the latest available version.

After upgrading, restart the server and verify it starts correctly:

```
open-webui serve
```

> **Multiple workers**
>
> Migrations run at startup in every process. If you run with `UVICORN_WORKERS` above `1`, start the new version with `UVICORN_WORKERS=1`, wait until the migrations finish, then restart. Running more than one worker is not recommended; scale with [replicas](/getting-started/advanced-topics/scaling#step-3-run-multiple-instances) instead.

For version pinning, rollback, and backup procedures, see the [full update guide](/getting-started/updating).

# Helm Setup for Kubernetes

This is the fastest way to try Open WebUI on a cluster. For a persistent or production installation (pinned versions, secrets, PostgreSQL, Redis, object storage, ingress and safe updates), follow the [Kubernetes Deployment](/deployment/kubernetes) guide.

## Prerequisites

- A running Kubernetes cluster, with `kubectl` configured for it.
- Helm 3.

## Helm Steps

1. **Add Open WebUI Helm Repository:**

```
helm repo add open-webui https://open-webui.github.io/helm-charts
helm repo update
```
2. **Install Open WebUI Chart:**

```
helm install openwebui open-webui/open-webui
```

With its default values the chart also deploys Ollama, Pipelines and a Redis instance, and stores Open WebUI's data on a 2 GiB PVC. Add `--set ollama.enabled=false --set pipelines.enabled=false` if you connect to models elsewhere.
3. **Verify Installation:**

```
kubectl get pods
```

Before running more than one replica or worker, read [Scaling Open WebUI](/getting-started/advanced-topics/scaling). Updates across replicas follow [Updates and Recovery](/deployment/kubernetes#updates-and-recovery).

## Access the WebUI

Forward the service to your machine and open [http://localhost:3000](http://localhost:3000):

```
kubectl port-forward service/openwebui-open-webui 3000:80
```

To expose it through an ingress controller, see [Finish the Production Installation](/deployment/kubernetes#finish-the-production-installation).

## Uninstall

1. **Uninstall the Helm Release:**

```
helm uninstall openwebui
```

With the default values this also deletes Open WebUI's PVC and the data on it. To keep the data across an uninstall, follow [Uninstall Without Accidentally Deleting Data](/deployment/kubernetes#uninstall-without-accidentally-deleting-data).
2. **Remove Remaining Persistent Volume Claims (WARNING: Deletes all data):** To make sure no volume of this release is left:

```
kubectl delete pvc -l app.kubernetes.io/instance=openwebui
```

### Desktop App

Download the desktop app from [**github.com/open-webui/desktop**](https://github.com/open-webui/desktop). It runs Open WebUI natively on your system without Docker or manual setup.

> **info**
>
> For production deployments, install via **Docker** or **Python**.

### Pinokio.computer Installation

For installation via Pinokio.computer, visit their website:

[https://pinokio.computer/](https://pinokio.computer/)

Support for this installation method is provided through their website.

---

## Open it

Docker: [http://localhost:3000](http://localhost:3000). Python and the desktop app: [http://localhost:8080](http://localhost:8080). The first start takes a minute.

Nothing loads? Run `docker logs -f open-webui` (`docker compose logs -f` with Compose) and wait for `Application startup complete`. If it never appears, see [Startup & Docker Failures](/troubleshooting/startup). Port already taken: change the left number in `-p 3000:8080`, or run `open-webui serve --port 9999` with Python.

## Create the admin account

The first screen says **Get started with Open WebUI** and offers **Create Admin Account**. That first account is the administrator: it manages users and every instance-wide setting. Everything, including this login, stays in your own volume.

Sign-up switches itself off once the admin account exists. To let other people join, turn on **New Sign Ups** under your avatar > **Settings > Authentication** (admin section); new accounts then wait as **Pending** until you approve them in the Admin Panel. Note the admin password: losing it locks you out of instance settings, see [Reset Admin Password](/troubleshooting/password-reset).

> **Two settings areas**
>
> Your avatar > **Settings** is yours alone (theme, language). The **Admin** section inside it applies to the whole instance. [Understanding Settings](/getting-started/quick-start/settings) explains the split.

## Connect a model provider

Open WebUI has no models of its own. Go to your avatar > **Settings > Connections** (admin section).

**Ollama on this machine?** It is picked up automatically at `http://host.docker.internal:11434` from Docker (that is what `--add-host` in step 1 is for) or `http://localhost:11434` from Python, and shows under **Manage Ollama API Connections**. As the admin, download a model by typing its name into the model selector of a new chat and confirming the pull. Ollama on another machine: `-e OLLAMA_BASE_URL=http://server:11434`, or set the URL on the connection.

**An API key from OpenAI, Anthropic or any OpenAI-compatible provider?** Click the **+** next to **Manage OpenAI API Connections**, enter the provider URL (OpenAI: `https://api.openai.com/v1`) and your key, then **Save**. Models are listed automatically.

Guides: [Ollama](/getting-started/quick-start/connect-a-provider/starting-with-ollama) · [OpenAI](/getting-started/quick-start/connect-a-provider/starting-with-openai) · [Anthropic](/getting-started/quick-start/connect-a-provider/starting-with-anthropic) · [OpenAI-compatible APIs and local servers](/getting-started/quick-start/connect-a-provider/starting-with-openai-compatible) · [all providers](/getting-started/quick-start/connect-a-provider)

> **Model list empty?**
>
> Ollama on the host has to listen on `0.0.0.0` when Open WebUI runs in Docker: [Connection to Ollama Server](/troubleshooting/connection-error#connection-to-ollama-server). For API providers, check the URL and key; some do not publish a model list and need the model IDs entered under **Model IDs** on the connection: [OpenAI-compatible providers](/getting-started/quick-start/connect-a-provider/starting-with-openai-compatible).

## Send your first message

Click **New Chat**, pick a model in the selector inside the message box, type, press Enter. Drop a file into the chat to ask questions about it.

![A new chat with the model selector and prompt suggestions](/assets/images/new-chat-placeholder-be568eb047e004bf0757ff35e34b4289.png)

No models in the selector: back to step 4. The reply stays empty or the chat hangs behind a reverse proxy: [WebSocket troubleshooting](/troubleshooting/connection-error#websocket-troubleshooting).

That is the whole install. Everything below is optional.

## Where to go next

[**Essentials for Open WebUI**](/getting-started/essentials) continues from here. It covers what most people set up in their first week:

|  |  |
| --- | --- |
| Plugins | Tools and Functions from the community catalog; the feature you are missing usually exists as one. |
| Tool calling | Native mode lets the model decide when to search, read files or save memory. |
| Task models | Titles, tags and autocomplete run on a model of their own; point them at a small one. |
| Context management | Why long chats hit a wall and how Context Compaction handles it. |
| Basic RAG | Chat with your own documents, in a chat or as a knowledge base. |
| Web search | Pick a search provider and the model searches when a question needs it. |
| Open Terminal | A sandboxed shell the model can build and run things in. |

**Keep it running**

- **Update:** pull the new image and recreate the container with the step 1 command, same `WEBUI_SECRET_KEY`; your data is in the volume. [Updating](/getting-started/updating)
- **Back up** the volume before every update: [Backup & Restore](/getting-started/updating#backup--restore)
- **Share it** with others on your network or team: [Sharing Open WebUI](/getting-started/sharing). Read the [hardening guide](/getting-started/advanced-topics/hardening) before exposing it beyond your machine.
- **Install it as an app** on your phone or desktop: [Open WebUI as an App](/getting-started/open-webui-as-app)
- **Outbound calls:** a stock install makes these on its own. A version check to GitHub, off with `ENABLE_VERSION_UPDATE_CHECK=false`. A model-list request to the default OpenAI connection, gone once you delete that connection or set `ENABLE_OPENAI_API=false`. An update check for the local embedding model on Hugging Face at every start, off with `RAG_EMBEDDING_MODEL_AUTO_UPDATE=false`.

Want an autonomous agent with terminal, file and web access? [Connect an Agent](/getting-started/quick-start/connect-an-agent). Questions: [Discord](https://discord.gg/5rJgQTnV4s). Bugs: [GitHub Issues](https://github.com/open-webui/open-webui/issues).
