HolyCode: Docker Container for Persistent AI Coding Agent Environments

HolyCode is a Docker container built with Claude Code to solve environment switching problems. The developer created it to have one Docker setup that can run anywhere without rebuilding the entire environment.
How Claude Code Was Used
- Iterated the Docker/runtime architecture quickly
- Debugged browser/container issues (Chromium + Xvfb + Playwright flow)
- Refined startup and recovery flow so rebuilds are repeatable
- Improved documentation and troubleshooting steps for predictable setup
Features
- Keeps sessions, settings, and plugins in persistent storage so rebuilds don't wipe progress
- Ships with prewired browser tooling for agent workflows
- Uses reliability defaults for daily use (shm_size: 2g, permission mapping, process supervision)
- Supports Claude, OpenAI, Gemini, and other provider workflows through OpenCode
Quick Start
Create a docker-compose.yml file:
services:
holycode:
image: coderluii/holycode:latest
restart: unless-stopped
shm_size: 2g
ports:
- "4096:4096"
volumes:
- ./data/opencode:/home/opencode
- ./workspace:/workspace
environment:
- PUID=1000
- PGID=1000
- ANTHROPIC_API_KEY=your-key-hereThen run:
docker compose up -dOpen http://localhost:4096 to access the environment.
The container is available at coderluii/holycode:latest on Docker Hub and the source is on GitHub. The developer mentioned they can share exact backup/restore and upgrade/rollback routines in follow-up comments.
📖 Read the full source: r/ClaudeAI
👀 See Also

Mengram adds persistent memory to OpenClaw agents
Mengram is an open-source memory system that gives OpenClaw agents long-term memory across sessions, solving the problem of agents forgetting everything when they restart. It provides episodic, entity, and procedural memory with smart archival of outdated facts.

Phantom: A Persistent AI Agent Built with Claude's Agent SDK
Phantom is an open-source Bun/TypeScript process that wraps Claude's Agent SDK (Opus 4.6) with persistent vector memory, a self-evolution engine, and an MCP server interface. It runs continuously on its own VM or Docker Compose and communicates via Slack.

Claude DevTools: A Log Reader for Enhanced Claude Code Visibility
Claude DevTools is a local, open-source tool that reads Claude Code's existing log files in ~/.claude/ to provide detailed session visibility, including file operations with inline diffs, token breakdowns, context window visualization, and full subagent execution trees.

Claude Code Routines Tunes CLI Performance 2.4x in 20+ PRs
Using Claude Code's Routines on a 2-hour cron to autonomously tune an open-source CLI (Repomix), resulting in 20+ auto-generated PRs and a 2.4x runtime improvement.