What problem does it solve?
This Skill helps teams craft Dockerfiles for sandboxed environments with reliable startup and teardown patterns, enabling automated tool runs in controlled containers.
Core Features & Use Cases
- Sandbox-ready Dockerfile templates: standardized patterns for building containers that host sandboxed tools.
- Lifecycle management: guidance to implement
/start.sh and /terminate.sh to initialize and clean up resources.
- Best practices: non-root images, port exposure, and platform constraints to ensure predictable behavior.
Quick Start
Use this skill to scaffold a Dockerfile that starts a service on port 8931 and includes /start.sh and /terminate.sh scripts. Then build and run your sandbox container with the recommended commands:
- Create a Dockerfile following the conventions in the skill
- Add
/start.sh to initialize your service and run the main command
- Add
/terminate.sh to clean up resources before container termination
- Build: docker build --platform linux/amd64 -t sandbox:latest .
- Run: docker run --rm -p 8931:8931 sandbox:latest