# Docker YOLO (Archived)

This is the Docker-based YOLO skill, archived in favor of the lighter tmux-based
approach.

## When to Use Docker YOLO Instead of Tmux

- **Untrusted code execution** - Container isolates potentially harmful code
- **Network isolation needed** - `--no-network` flag available
- **Clean environment per task** - Fresh container each time
- **Safe `--dangerously-skip-permissions`** - Isolated from host

## Usage

```bash
SANDBOX="/root/.claude/skills/yolo-docker/docker-sandbox.ts"

# Basic sandbox
bun $SANDBOX --claude --prompt "<task>" <directory>

# With memory limits for parallel
bun $SANDBOX --claude --memory 2g --prompt "<task>" <directory>

# Full isolation
bun $SANDBOX --claude --no-network <directory>

# Status
bun $SANDBOX --status
```

## Files

- `docker-sandbox.ts` - Main orchestration script
- `SKILL.md` - Original skill instructions

## Re-activating Docker YOLO

To switch back to Docker-based YOLO:

```bash
# Swap the skills
mv /root/.claude/skills/yolo /root/.claude/skills/yolo-tmux
mv /root/.claude/skills/yolo-docker /root/.claude/skills/yolo
```
