Skip to content

Add Docker template example#99

Open
beran-t wants to merge 9 commits intomainfrom
docker-template-example
Open

Add Docker template example#99
beran-t wants to merge 9 commits intomainfrom
docker-template-example

Conversation

@beran-t
Copy link
Contributor

@beran-t beran-t commented Feb 3, 2026

Summary

Add a new template example showing how to create a sandbox with Docker installed.

  • Uses the official get.docker.com script for installation
  • Validates Docker works by running hello-world during build
  • Includes example of running Alpine container in the sandbox

Add a new template example showing how to create a sandbox with Docker
installed. Uses the official get.docker.com script for installation
and validates with hello-world during build.
- Remove section headers
- Use inline code comments instead of prose
- Use sbx variable and sbx.kill() pattern
- Simplify template name to 'docker'
- Add await to sbx.kill() in TypeScript
- Use Sandbox.create() pattern in Python
- Add brief description to Run containers section
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant