docker-sandboxes-lifecycle
Use this skill when creating, running, reattaching to, listing, stopping, or removing Docker Sandboxes (the standalone sbx CLI that runs AI coding agents in isolated microVMs), even if the user just says they want to "run claude in a sandbox", "isolate an agent from my repo", "give an agent its own git clone", or "clean up old sandboxes". Covers sbx run/sbx create (including the built-in agents claude, codex, cursor, devin, docker-agent, gemini, opencode, shell), workspace bind-mount vs --clone isolation, additional read-only workspaces, reattaching by --name, sbx ls/stop/rm/prune, sbx exec, sbx cp, and sbx ports.
- License
- Apache-2.0
- Compatibility
- Standalone `sbx` CLI (not the legacy `docker sandbox` plugin wrapper). Source-verified against docker/sandboxes (github.com/docker/sandboxes) @ commit df5c96ba60484fa2c375469dbac912c205da6c37. Cross-checked against an installed sbx v0.42.0-503-g951b7f6d7 (commit 951b7f6d7f6bb260fac15077b607109ffe8ae012, older than the pinned source); one source-only behavior change is called out explicitly below (`sbx prune --filter`). `docker_help` does not cover standalone `sbx` syntax.
Pinned to revision 4e8964e24a5a, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/docker-sandboxes-lifecycle/SKILL.md
- skills/docker-sandboxes-lifecycle/checks/verification.md
- skills/docker-sandboxes-lifecycle/references/sources.md
- skills/docker-sandboxes-lifecycle/skill.yaml
Every link opens the file at its source, pinned to the revision this page describes.