Claude-skill-registry docker-sandbox
Docker sandbox environment management for dotfiles. Use when user mentions "build docker", "start container", "enter shell", "clean container", "check status", "make build", "make shell", "make clean", development environment, or container management.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/docker-sandbox" ~/.claude/skills/majiayu000-claude-skill-registry-docker-sandbox && rm -rf "$T"
manifest:
skills/data/docker-sandbox/SKILL.mdsource content
Docker Sandbox Management
dotfilesをテストするためのDocker開発環境を管理する。
Available Commands
| Command | Description |
|---|---|
| Build Docker image |
| Start container in background |
| Attach to container (auto-starts if needed) |
| Run temporary container (removed after exit) |
| Stop container |
| Remove container and volume |
| Show current worktree status |
| List all dotfiles containers |
Common Workflows
Initial Setup
make build # Build image make shell # Enter development environment
Test Configuration Changes
After editing dotfiles on host:
make shell # Inside container: source ~/.zshrc # Reload zsh tmux source ~/.tmux.conf # Reload tmux (inside tmux) :source $MYVIMRC # Reload neovim (inside nvim)
Reset Environment
make clean # Remove container and volume make build # Rebuild image make shell # Enter fresh environment
Container Architecture
- Image:
dotfiles:{worktree-name} - Container:
dotfiles-{worktree-name} - Volume:
(persists home directory)dotfiles-{worktree-name}-home - Mount:
(read-only)~/.dotfiles
Included Tools
- Neovim (stable)
- tmux 3.5
- zsh
- Node.js (latest LTS)
- Python3 + pynvim
Troubleshooting
Container won't start
- Check status:
make status - View logs:
docker logs dotfiles-{worktree-name} - Rebuild:
make clean && make build
Changes not reflected
dotfiles are mounted read-only. Edit on host, then reload inside container.