# Claude-in-container

Claude-in-container is a self-hosted ai app. Always-on Claude Code in a Docker or Podman container, reachable from your phone or browser via Remote Control. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/2708/claude-in-container

## Description

Always-on Claude Code in a Docker or Podman container, reachable from your phone or browser via Remote Control. Claude has scoped access to a single mounted data folder, keeping host files, SSH keys, and cloud credentials isolated. Runs non-root with no sudo, so a bad command hits the container, not your host. For homelab users who want a sandboxed, self-hosted Claude Code experience without exposing system-level access.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

44/100 (Fair), based on 4 of 4 factors.
- Maintained: 78 (last commit 39 days ago)
- Popular: 6 (1 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 30 (4 GB minimum RAM)

## Links

- Unraid: https://ca.unraid.net/apps/claude-in-container-1wervpi0qlvhqa?q=claude-in-container

## Common questions

### Do I need to open ports or add a reverse proxy to reach it from a phone or browser?

No. Remote Control connects outbound to claude.ai and nothing listens on your network. You can use phone and browser access through Remote Control in the Claude app or claude.ai/code.

### What host access and secrets does Claude get inside the container?

It sees only the one mounted data folder and runs non-root with no sudo. It gets only the keys and tokens you pass in .env or a mount.

### Where do I back up data, and how do I move or remove the setup?

Projects, login, settings, history, and tools live in one folder, so copy that folder to move to another host. For clean removal, delete the container and its folder.

### What Unraid permission should I check before first start?

Create the Data folder before first start and make it owned by the container user 99:100. The Extra Parameters default is --user 99:100.

### Does it keep running when my SSH session or host reboots?

Claude runs in tmux, so closing a terminal or losing SSH does not stop it. The restart policy brings the container back after crashes or reboots, and the last conversation resumes after a restart.

### Does it automatically update Claude Code?

No, the auto-updater is off. You choose when to move to a new Claude Code version, and you can roll back by rebuilding the previous one.

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