# Claude Code

Claude Code is a self-hosted Docker container that keeps an always-on Claude Code session on your homelab, so the agent stays reachable from a phone or tablet even when your laptop is closed or off the network. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/2545/claude-code

## Description

Claude Code is a self-hosted Docker container that keeps an always-on Claude Code session on your homelab, so the agent stays reachable from a phone or tablet even when your laptop is closed or off the network. A persistent tmux server holds the live session and host networking lets the container reach the LAN directly; the image bundles ssh, sshpass, gh, ripgrep, jq and common network-inspection tools. You can reattach the same session from any device over SSH or use it from the Claude mobile app through remote control. Aimed at homelabbers who want round-the-clock agentic terminal access to their server.

## Platform availability

Available on 2 of 10 platforms: Unraid, ZimaOS.

## Health score

51/100 (Fair), based on 5 of 5 factors.
- Maintained: 65 (last commit 104 days ago)
- Popular: 24 (15 GitHub stars)
- Easy to install: 45 (2 install platforms, install notes, Docker image)
- Light to run: 30 (4 GB minimum RAM)
- Security check: 79 (no serious findings, 1 minor, CI)

## Links

- GitHub: https://github.com/anthropics-claude/claude-code
- Docker Hub: https://hub.docker.com/r/louij2/claude-code/
- Unraid: https://ca.unraid.net/apps/claude-code-1yhxgdd1vb7b9x?q=claude-code
- Official website: https://claude.com/claude-code
- Documentation: https://code.claude.com/docs/en/overview

## Common questions

### How do I verify a Claude Code installation before starting a session?

Run claude doctor from your terminal. It checks installation health and settings without starting a session and suggests fixes.

### How can I fix Claude Code permission errors on macOS or Linux?

Use the documented sudo commands to create ~/.local/bin and make ~/.local owned by your user. This resolves common permission denied errors that can stop Claude Code from starting.

### Where should I look for common Claude Code errors and their fixes?

A practical reference lists common errors with the cause and fix command for each. It starts with the claude doctor, /status, and /context diagnostics.

### Do all Claude Code usage surfaces require a paid Anthropic account?

Most surfaces require a Claude subscription or Anthropic Console account. The terminal CLI, VS Code, and JetBrains also support third-party providers.

---
Source: Our Local Host (https://ourlocalhost.com/app/2545/claude-code), the self-hosted and open-source app directory.
