claude-docker/plan.md
Vishal Jain 9d1f8d0661 Add git user configuration support
Add required git user configuration to enable commits from within the container.
This change ensures proper attribution of git commits made inside the container by:

- Adding GIT_USER_NAME and GIT_USER_EMAIL to .env.example
- Configuring git user globally during Docker build
- Adding documentation for git configuration requirements
- Updating README with clearer setup instructions and requirements

The configuration is now required as part of the initial setup to prevent
issues with unattributed commits when using git inside the container.
2025-06-18 13:54:58 +01:00

3.7 KiB

README Update and Repository Preparation Plan

Objective

Update the claude-docker README to be production-ready for public release, with clear setup instructions, proper attribution, and comparison to Anthropic's devcontainer implementation.

Current Script Inventory (Post-Cleanup)

Based on our recent pruning, these are the active scripts:

  • claude-docker.sh: Main wrapper script that handles Docker container lifecycle, mounts projects, copies templates
  • install.sh: One-time installation script that builds Docker image and creates system-wide alias
  • startup.sh: Container entrypoint that loads environment and starts Claude Code with MCP

Tasks

1. Research Phase

2. README Prerequisites Update

  • Add clear warning that Claude Code must be pre-authenticated on host
  • Link to official Claude Code installation docs: https://docs.anthropic.com/en/docs/claude-code
  • Link to Twilio setup documentation
  • Make it ultra-clear what needs to be done BEFORE using claude-docker

3. Add Comparison Section

Create "How This Differs from Anthropic's DevContainer" section highlighting:

  • Authentication Persistence: Our approach vs theirs
  • Conda Environment Management: Full conda mounting and path preservation
  • Project Mounting: Plug-and-play for any project directory
  • Twilio MCP Integration: Built-in SMS notifications
  • Use Case: Standalone tool vs VSCode-integrated development

4. Simplify Setup Instructions

Transform current setup into numbered CLI commands:

1. git clone https://github.com/VishalJ99/claude-docker.git
2. cd claude-docker
3. cp .env.example .env
4. nano .env  # Add your API keys
5. ./scripts/install.sh
6. claude-docker  # Run from any project

5. Add Proper Attribution

  • Link to Twilio MCP server we use: @yiyang.1i/sms-mcp-server
  • Credit Anthropic's claude-code project
  • Add links to all external dependencies

6. Remove Legacy Content

  • Remove references to setup-env.sh (already deleted)
  • Update directory structure section to reflect current scripts
  • Update any stale examples

Key Differentiators to Emphasize

  1. Standalone Docker vs DevContainer (VSCode-specific)
  2. Persistent Authentication - login once, use everywhere
  3. Conda Integration - preserves conda environments and works with custom env and pkg dirs
  4. SMS Notifications - autonomous execution with status updates
  5. Zero Configuration Per Project - just run claude-docker
  6. Detach/Reattach Workflow - long-running sessions

Success Criteria

  • New user can go from zero to running claude-docker in < 5 minutes
  • Clear understanding of what this tool provides vs alternatives
  • All external dependencies properly attributed
  • No legacy or confusing content remains
  • Prerequisites are crystal clear
  • Directory structure accurately reflects current codebase