Claude not available
Image Variant
Full (latest / dev)
Image Tag / Version
latest
Host OS
Linux
Container Architecture
amd64/x86_64
What happened?
Claude Code native binary not found at claude. Please ensure Claude Code is installed via native installer or specify a valid path with options.pathToClaudeCodeExecutable.
But the claude api key has been added as environment variable. And it is saying in the settings: Connection Status Logged in as API Key Auth and connected.
However even when I remove the apikey and try to login manually, i get this error:
Starting terminal in: bash: line 1: claude: command not found
Process exited with code 127 (0)
docker compose:
services:
holyclaude:
image: coderluii/holyclaude
container_name: holyclaude
hostname: holyclaude
restart: unless-stopped
shm_size: 2g
network_mode: bridge
cap_add:
- SYS_ADMIN # Current browser profile for this release; hardening is separate
- SYS_PTRACE # Debugging-related capability
security_opt:
- seccomp=unconfined # Current browser profile for this release; hardening is separate
ports:
- "3001:3001" # CloudCLI web UI
volumes:
- /mnt/docker/holyclaude/home:/home
- /mnt/docker/holyclaude/workspace:/workspace
environment:
- TZ=Europe/Berlin # Change to your timezone
The /mnt/docker/holyclaude/home:/home mount is hiding the Claude executable supplied by the image. I reproduced the same claude: command not found error by masking /home. An API key authenticates the CLI; it does not install or restore a hidden binary.
Keep /home and /home/claude image-owned. Persist the configuration and workspace instead:
volumes:
- /mnt/docker/holyclaude/data/claude:/home/claude/.claude
- /mnt/docker/holyclaude/workspace:/workspace
Before switching mounts, follow the home recovery instructions from the Compose project directory. The procedure verifies the existing /home mount, stops the exact container, and keeps the original home directory as a backup; do not delete it or mount an empty directory over it to start again. It preserves detected CLI state, including Cursor, and stops on conflicting copies. An existing real /home/claude/.cursor directory remains user-managed, so confirm which Cursor path is live before relying on the recovered copy under .claude or removing the backup.
v1.6.0 also stops startup with a specific message when the image-owned Claude binary is missing. Updating alone cannot correct a broad home mount; the Compose change is required. After recreating, docker compose exec holyclaude claude --version should find the installed CLI.