Skip to content

Docker: Permission denied (os error 13) creating .deepseek/tasks/runtime/threads on first run #1684

@Pipboyguy

Description

@Pipboyguy

Description

Running the prebuilt ghcr.io/hmbown/deepseek-tui:latest image with the exact docker run invocation from the README's install section fails to start. The agent aborts trying to create a directory inside the mounted /home/deepseek/.deepseek volume with Permission denied (os error 13).

Steps to reproduce

  1. docker volume create deepseek-tui-home
  2. Run the command copied verbatim from the README:
docker run --rm -it \
  -e DEEPSEEK_API_KEY="$DEEPSEEK_API_KEY" \
  -v deepseek-tui-home:/home/deepseek/.deepseek \
  -v "$PWD:/workspace" \
  -w /workspace \
  ghcr.io/hmbown/deepseek-tui:latest

Expected behavior

deepseek starts and the TUI is usable.

Actual behavior

Process exits immediately with:

Failed to create /home/deepseek/.deepseek/tasks/runtime/threads
Caused by:
    Permission denied (os error 13)

Impact

Blocks first-time Docker users following the README Quickstart verbatim. Reproduces deterministically on a clean environment.

Environment

  • OS: macOS 26.5 (Darwin 25.5.0, arm64)
  • DeepSeek CLI version: ghcr.io/hmbown/deepseek-tui:latest (Docker image)
  • Install method: Docker / GHCR
  • Model/provider: deepseek-v4-pro / DeepSeek
  • Terminal app: macOS terminal
  • Shell: zsh
  • Docker runtime: OrbStack; Docker client 29.5.0 / server 29.4.0

Logs, screenshots, or recordings

Tail of terminal output:

... Failed to create /home/deepseek/.deepseek/tasks/runtime/threads

                                                       Caused by:
                                                                   Permission denie
(os error 13)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Projects

    Status
    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions