beevelop

Docker Claude — DevOps skill for Claude Code

DevOps community

Remote Claude Code container image for 24/7 headless operation.

How to install Docker Claude

This entry records only its repository, not the path inside it, so there is no exact command to give. Open beevelop/docker-claude and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Docker Claude does

Remote Claude Code container image for 24/7 headless operation. Based on node:22-bookworm-slim with Claude Code CLI pre-installed. Supports remote control via Claude mobile/web app, env-based auth (API key or OAuth token), one-time init commands, and persistent config volumes. Multi-arch (amd64/arm64).

Alternatives in DevOps

  • Appwrite — Appwrite® - complete cloud infrastructure for your web, mobile and AI apps 57.5k ★
  • Supabase — Infrastructure Supabase database/auth integration 14k ★
  • Mirrord — Run any process, on your machine or in an AI agent's environment, as if it were a pod in your Kubernetes clust 5.3k ★

README

beevelop/claude

Docker image for [Claude Code](https://code.claude.com/) with remote control support. Designed for 24/7 headless operation on a remote server, accessible via the Claude mobile/web app.

Based on `ubuntu:24.04` with a full developer toolchain (Node.js 22, Python 3, build-essential, ripgrep, fzf, etc.) and Claude Code CLI pre-installed via the official installer.

Quick Start

docker run -d \
  --name claude \
  --restart unless-stopped \
  -e DEPLOY_KEY_B64="$(base64 < deploy_key | tr -d '\n')" \
  -e GIT_REPO=git@github.com:your-org/your-repo.git \
  -e GIT_USER_NAME="Claude Code" \
  -e GIT_USER_EMAIL="claude@example.com" \
  -v claude_config:/home/developer/.claude \
  -v claude_workspace:/workspace \
  --tty --interactive \
  beevelop/claude:latest

First Launch — Interactive Login

Remote control mode requires an OAuth login (API keys are **not** supported). On first launch, you must attach to the container and complete the login flow:

  1. **Start the container** (see Quick Start above).

  2. **Attach to the running container:**

    docker attach claude
  3. **Complete the OAuth login** — the entrypoint will automatically run `claude login`. Follow the URL printed in the terminal to authenticate in your browser.

  4. **After login succeeds**, press `Ctrl+C` to continue. The entrypoint will then launch `claude remote-control`.

  5. **Detach from the container** with `Ctrl+P` then `Ctrl+Q` (Docker's detach sequence). The container continues running in the background.

Subsequent container restarts will use the persisted credentials and skip the login step entirely.

Credential Storage & Persistence

Claude Code stores its credentials in these locations inside the container:

Path Purpose
/home/developer/.claude/.credentials.json OAuth tokens (access + refresh)
/home/developer/.claude.json Account metadata and onboarding state
/home/developer/.claude/ Full config dir