v0.84.0 is out

Claude Code,
in a container.

A single Go binary that runs Claude Code in Docker. Outbound traffic is blocked by default. Docker is the only dependency.

$ brew install back2base/back2base/back2base
$ back2base install   # check prereqs, build the image
$ back2base login     # link your Claude subscription
$ back2base

Features

Isolated by default

The agent runs in a container. Your host stays clean.

Default-deny egress

An iptables allowlist covers only the APIs your MCP servers need.

OTLP telemetry

Send traces, metrics, and logs to your own collector. Off until you enable it.

Your MCP servers

Pick your own servers and profiles. They sync to your account.

Org settings respected

Your organization's existing Claude Code settings take precedence.

Prompt caching

Image layers are ordered to keep Anthropic's prompt cache warm.

One binary

No Node, Python, or dotfiles on the host. Just Docker.

Editions

Hosted or open source

Both run the same container.

Open source

oss-back2base

No account or hosted services.

  • Same container and firewall
  • Same MCP server registry
  • Builds from source with Go
  • MIT licensed
View on GitHub

Requirements

What you need

macOS is the main platform. Linux is supported through APT.

DockerDocker Desktop or Colima
Claude subscriptionPro, Max, Team, or Enterprise
Disk spaceAbout 500 MB for the base image