Claude Code
Anthropic's Claude Code (opens in new tab) on the
devbox development image, for interactive coding on a local
checkout, one-shot runs in a cluster, and pull request review in CI. The entrypoint is
claude, and the container starts in /workspace as sysadmin (UID 1000). No
credentials are stored in the image.
- Images
- GHCR
ghcr.io/hambn/claude-code - Docker Hub
docker.io/hambn/claude-code
- GHCR
On this page
Images
ubuntu: Ubuntu 24.04 without a browser.latestpoints here, and the CI recipes use it.- Base:
devbox:ubuntu-full - Tags:
ubuntu,latest,claude-code-<version> - Included software: Claude Code and the devbox full tier
- Base:
ubuntu-browser: Ubuntu 24.04 with headless Chromium, the default in the local recipes.- Base:
devbox:ubuntu-browser - Tags:
ubuntu-browser - Included software: Claude Code and the devbox browser tier
- Base:
alpine: Alpine 3.24 without a browser.- Base:
devbox:alpine-full - Tags:
alpine - Included software: Claude Code and the devbox full tier
- Base:
alpine-browser: Alpine 3.24 with Chromium.- Base:
devbox:alpine-browser - Tags:
alpine-browser - Included software: Claude Code and the devbox browser tier
- Base:
Pull ghcr.io/hambn/claude-code:<tag> or docker.io/hambn/claude-code:<tag>.
claude-code-<version> names the Claude Code npm release in the current ubuntu
build. All tags move when the image is rebuilt; pin a digest to keep one build.
Included software
- Claude Code
- Command:
claude - Source: npm package
@anthropic-ai/claude-code, version pinned in theDockerfile(opens in new tab)
- Command:
Git, Node.js, Python, Go, the Docker CLI, and the other devbox tools come from the
devbox full tier. The *-browser variants add the
browser tier.
Use cases
- Interactive coding on a local checkout with Docker, including hosts that load the image from a saved tar.
- Repeatable local sessions with Docker Compose, with an air-gapped Compose file.
- Rootless sessions on a workstation with Podman.
- One-shot review in a cluster from plain manifests with Kubernetes or from a Helm chart with Helm.
- Code review in CI on GitHub pull requests with GitHub Actions or on GitLab merge requests with GitLab CI.