Skip to content

Conversation

@agents-git-bot
Copy link
Contributor

@agents-git-bot agents-git-bot bot commented Dec 5, 2025

Documents new standalone binary feature from cloudflare/sandbox-sdk#280.

Changes

Updates Dockerfile reference documentation with:

  • New section on using standalone binary with arbitrary base images
  • Examples showing Python, Node.js, and Go base images
  • Explanation of how the binary works with signal forwarding and child process execution
  • Marks existing startup script pattern as legacy for backwards compatibility
  • Updates multiple services example to work with new binary entrypoint

What this enables

Users can now add sandbox capabilities to ANY Docker image by copying the /sandbox binary:

FROM python:3.11-slim
COPY --from=docker.io/cloudflare/sandbox:0.3.3 /container-server/sandbox /sandbox
ENTRYPOINT ["/sandbox"]
CMD ["python", "/app/main.py"]

The binary starts the sandbox API server, then executes the user's CMD as a child process with proper signal forwarding.

Related

🤖 Generated via automated documentation sync from cloudflare/sandbox-sdk

Documents the new standalone binary feature that allows users to add
sandbox capabilities to any Docker image by copying the /sandbox binary.

Updates include:
- New section on using standalone binary with arbitrary base images
- Examples for Python, Node.js, and Go base images
- Explanation of how the binary works with signal forwarding
- Mark existing startup script pattern as legacy for backwards compatibility
- Update multiple services example to work with new binary

Related to cloudflare/sandbox-sdk#280

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/sandbox/ @whoiskatrin, @ghostwriternr, @cloudflare/pcx-technical-writing, @cloudflare/ai-agents

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants