Quick start
Setup
cac docker setup is an interactive wizard that:
- Asks for your proxy address (supports compact and share link formats)
- Auto-detects local vs remote Docker installation
- Auto-detects network parameters (interface, subnet, gateway) for macvlan mode
- Writes configuration to
docker/.env
Proxy formats
What happens inside the container
On first boot, the entrypoint automatically:Start sing-box TUN
All container traffic is transparently routed through your proxy at the kernel level. No proxy environment variables visible to applications.
Detect timezone and locale
Queries the exit IP to determine timezone and language, then configures the container.
Create cac profile
Generates a unique identity (UUID, hostname, MAC, machine ID) and mTLS certificate.
Persistent storage
/root and /home are bind-mounted to docker/data/ on the host. Your Claude Code sessions, settings, and work files survive container restarts.
Port forwarding
To expose a port from the container (e.g., a dev server):localhost:6287 on the host to the container.