Skip to content

Docker: Sandbox runtime failed: OSError: write_uid_map (#1): [Errno 1] Operation not permitted (other attempts: write_uid_map #40

Description

@SuperPat45

Description

I started Open WebUI from a docker container, and the tool execution throw the error:

Sandbox runtime failed: OSError: write_uid_map (#1): [Errno 1] Operation not permitted (other attempts: write_uid_map...

General information

  • Open WebUI version: v0.6.5
  • Tool/function version: v0.8.0
  • Open WebUI setup:
    • Kernel information: Linux xxxxx 6.11.0-21-generic 21-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 19 16:50:40 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
    • Runtime: Docker
    • If running in Docker:
      • Docker version: 28.0.4, build b8034c0
      • docker run command: sudo docker compose up -d
      • Docker container info:
        dockerinspect.txt

Debug logs

chat-export-1744895663586.json

Additional context

My docker compose file:

services:
  openwebui:
    image: ghcr.io/open-webui/open-webui
    container_name: openwebui
    ports:
      - "3000:8080"
    environment:
      - 'WEBUI_SECRET_KEY='
      - 'ENV=dev'
    extra_hosts:
      - host.docker.internal:host-gateway
    restart: unless-stopped
    volumes:
      - /opt/openwebui/data:/app/backend/data
      - /sys/fs/cgroup:/sys/fs/cgroup:rw
    security_opt:
      - seccomp:unconfined
      - apparmor=unconfined
      - label=type:container_engine_t

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions