git clone https://github.com/yourusername/claude-code-container.git
cd claude-code-container
chmod +x setup.sh
./setup.sh# Close and reopen terminal, or:
source ~/.zshrc # or ~/.bashrcclaude-container
# You're now inside the secure environment!~/ClaudeCodeWorkspace/
├── Projects/ # Your code goes here
├── Documentation/ # Docs and presets
├── Research/ # Research materials
├── shared/ # Files shared with your Mac
├── imports/ # Drop files here to use in container
└── exports/ # Container puts files here for you
Import files to container:
# On your Mac:
cp myfile.txt ~/ClaudeCodeWorkspace/imports/
# Inside container:
ls /workspace/imports/Export files from container:
# Inside container:
cp myproject.zip /workspace/exports/
# On your Mac:
ls ~/ClaudeCodeWorkspace/exports/# Inside container
proj # Go to Projects folder
mkdir my-app && cd my-app
py -m venv venv # Create virtual environment
source venv/bin/activate
pip install requests pandas# Inside container
cc # Start Claude Code
cc --project my-app # Start with specific project context
cc --research # Research mode with MCP servers# Inside container
gs # git status
ga . # git add all
gc -m "Initial commit" # git commit
gp # git pushCheck status:
./manage.sh statusStop container:
./manage.sh stopBackup workspace:
./manage.sh backupImport a file:
./manage.sh import ~/Downloads/data.csvReset container (keeps your files):
./manage.sh resetInside the container, use these shortcuts:
proj- Jump to Projects folderdocs- Jump to Documentationpy- Python 3.11cc- Claude Code
Your work persists between sessions. The container can be stopped and restarted without losing files.
The Sequential Thinking and Zen MCP servers are pre-configured. Claude Code will automatically use them for enhanced capabilities.
Add your own prompt templates to:
~/ClaudeCodeWorkspace/Documentation/presets/
Create separate folders in /workspace/Projects/ for different projects:
/workspace/Projects/
├── web-app/
├── data-analysis/
└── ml-model/./manage.sh status # Check what's wrong
./manage.sh reset # Reset if needed
./setup.sh # Re-run setupFiles go to: ~/ClaudeCodeWorkspace/imports/
Inside container: /workspace/imports/
# On your Mac:
chmod -R 755 ~/ClaudeCodeWorkspace# Check space usage
./manage.sh status
# Clean up Docker
docker system prune -a- Explore the presets in
/workspace/Documentation/presets/ - Configure git with your credentials inside the container
- Install additional tools as needed with
apt-getorpip - Create your first project in
/workspace/Projects/
Need help? Check the full README.md or open an issue on GitHub.