/
DirectorySecurity Advisories
Sign In
Directory
open-webui logo

open-webui

Last changed

Create your Free Account

Be the first to hear about exciting product updates, critical vulnerability alerts, compare alternative images, and more.

Sign Up
Tags
Overview
Comparison
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Chainguard Container for open-webui

Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform designed to operate entirely offline. It supports various LLM runners like Ollama and OpenAI-compatible APIs, with built-in inference engine for RAG, making it a powerful AI deployment solution.

Chainguard Containers are regularly-updated, secure-by-default container images.

Download this Container Image

For those with access, this container image is available on cgr.dev:

docker pull cgr.dev/ORGANIZATION/open-webui:latest

Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.

Compatibility Notes

This image is comparable to the open-webui/open-webui image available from GitHub Container Registry. Switching to the Chainguard image should not require any changes to your existing setup.

Getting Started

Docker

You can run Open WebUI with Docker using the following command:

docker run -d \
  --name open-webui \
  -p 3000:8080 \
  -v open-webui-data:/app/backend/data \
  cgr.dev/ORGANIZATION/open-webui:latest

Docker Compose

Create a docker-compose.yml file with the following content:

version: '3'

services:
  open-webui:
    image: cgr.dev/ORGANIZATION/open-webui:latest
    container_name: open-webui
    ports:
      - 3000:8080
    volumes:
      - open-webui-data:/app/backend/data
    restart: unless-stopped

volumes:
  open-webui-data:

Run the container with:

docker-compose up -d

Helm/Kubernetes

Open WebUI provides official Helm charts for Kubernetes deployment. You can deploy Open WebUI with the Chainguard image using these steps:

  1. Add the Open WebUI Helm repository:

    helm repo add open-webui https://helm.openwebui.com/
    helm repo update
  2. Create a values.yaml file to configure the deployment with the Chainguard image:

    image:
    repository: cgr.dev/ORGANIZATION/open-webui
    tag: latest
    pullPolicy: IfNotPresent
    
    # Configure persistence if needed
    persistence:
    enabled: true
    size: 2Gi
  3. Install the Open WebUI Helm chart:

    helm upgrade --install open-webui open-webui/open-webui \
    --namespace open-webui --create-namespace \
    --values values.yaml
  4. Access Open WebUI:

    # Port forward to access the UI
    kubectl port-forward -n open-webui svc/open-webui 3000:80

Open WebUI will be available at http://localhost:3000

Configuration

Open WebUI will be available at http://localhost:3000 after startup. Follow the web interface instructions to connect to your LLM provider (Ollama, OpenAI API, etc.).

Documentation and Resources

What are Chainguard Containers?

Chainguard Containers are minimal container images that are secure by default.

In many cases, the Chainguard Containers tagged as :latest contain only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager. Chainguard Containers are built with Wolfi, our Linux undistro designed to produce container images that meet the requirements of a more secure software supply chain.

The main features of Chainguard Containers include:

For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a -dev variant.

Although the -dev container image variants have similar security features as their more minimal versions, they feature additional software that is typically not necessary in production environments. We recommend using multi-stage builds to leverage the -dev variants, copying application artifacts into a final minimal container that offers a reduced attack surface that won’t allow package installations or logins.

Learn More

To better understand how to work with Chainguard Containers, please visit Chainguard Academy and Chainguard Courses.

In addition to Containers, Chainguard offers VMs and Libraries. Contact Chainguard to access additional products.

Trademarks

This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.

Licenses

Chainguard container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:

  • Apache-2.0

  • BSD-1-Clause

  • BSD-2-Clause

  • BSD-3-Clause

  • BSD-4-Clause-UC

  • CC-PDDC

  • FTL

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Category
AI

Safe Source for Open Sourceâ„¢
Media KitContact Us
© 2025 Chainguard. All Rights Reserved.
Private PolicyTerms of Use

Products

Chainguard ContainersChainguard LibrariesChainguard VMs