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.md
source content

Docker Sandbox Management

dotfilesをテストするためのDocker開発環境を管理する。

Available Commands

CommandDescription
make build
Build Docker image
make start
Start container in background
make shell
Attach to container (auto-starts if needed)
make run
Run temporary container (removed after exit)
make stop
Stop container
make clean
Remove container and volume
make status
Show current worktree status
make list
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:
    dotfiles-{worktree-name}-home
    (persists home directory)
  • Mount:
    ~/.dotfiles
    (read-only)

Included Tools

  • Neovim (stable)
  • tmux 3.5
  • zsh
  • Node.js (latest LTS)
  • Python3 + pynvim

Troubleshooting

Container won't start

  1. Check status:
    make status
  2. View logs:
    docker logs dotfiles-{worktree-name}
  3. Rebuild:
    make clean && make build

Changes not reflected

dotfiles are mounted read-only. Edit on host, then reload inside container.