When to use E2B
Use E2B when:- task work should run outside the Roomote host
- you want hosted sandboxes with snapshot support
- you can provide an E2B API key
- your deployment can reach E2B and E2B task sandboxes can reach Roomote
Configuration
Add E2B from Settings > Sandboxes with your API key, or provide the values as deployment env vars:E2B_DOMAIN only for self-hosted or custom E2B clusters. The default E2B
domain is enough for standard hosted E2B.
Roomote’s provisioned E2B worker template includes Docker and Docker Compose,
so environments can run Docker projects.
Container builds share the task’s CPU and memory; use an appropriately sized
sandbox for larger images or multi-service stacks. E2B template resources are
fixed at build time, so Roomote’s template uses 8 GiB for every task.
Verify setup
- save
E2B_API_KEY - select E2B as the default sandbox provider
- start a small task from an environment
- confirm the task starts, streams logs, and can run project commands
- verify preview links if the task starts a web app
Common issues
- Preview links fail. Confirm the deployment URL and preview proxy are reachable from hosted sandboxes.