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

8 Advanced Claude Code Tips: Cost Saving, Context Management, Custom Commands
Practical tips from heavy daily use of Claude Code, covering git workflow automation, multimodal image input, API usage tracking, context compaction, session resumption, rule management, thinking triggers, and custom commands.

Decision Passport: An Audit Layer for AI Agent Execution Governance
The Claude Code leak highlights a gap in AI agent governance. Decision Passport addresses this with append-only execution records, portable proof bundles, and offline verification for tamper-evident audit trails.

ForgeAI: A Visual Workbench for Model Engineering
ForgeAI provides a visual interface for model inspection, merging, and training, offering features like 3D model architecture inspection and M-DNA Forge for visual layer merging.

DecisionNode: CLI and MCP Server for Semantic Decision Storage
DecisionNode is a local-only CLI and MCP server that stores structured decisions as JSON, embeds them as vectors for semantic search, and makes them accessible across AI tools via MCP. It's MIT licensed and designed to work with Claude Code, Cursor, Windsurf, Antigravity, and other MCP clients.