Skip to content
carton
Esc
↑↓navigate↵open⌘Jpreview
On this page

Choose a provider

Run sandboxes at a hosted provider or on your own machine.

A provider supplies the machine where your sandbox runs. Using a hosted provider does not require Docker on your laptop.

The current server has E2B, Daytona, and Docker adapters. Other provider names on the landing page describe intended coverage, not working integrations.

E2B

You need an E2B account, an API key, and an environment prepared for Carton. Your provider credentials stay in the Carton instance.

The current adapter uses an imported, pinned template ID and build UUID. Adding an API key alone is not enough: the imported artifact must match the image, platform, and resources you request. A missing import returns not_prepared.

Daytona

You need a Daytona account, an API key, and an environment prepared for Carton.

The current adapter uses an imported container snapshot UUID. As with E2B, the import must match the requested image, platform, and resources. Both hosted adapters currently require linux/amd64.

Guided setup for these providers is unfinished. See Setup and connection for the distinction between configuring your own instance and connecting to an existing one.

Docker, optional

Choose Docker if you want your sandboxes to run on your own machine. Only this path needs a Docker daemon and a carton agent process.

Docker containers share the host kernel. Local port forwarding currently requires Linux routing to container IPs and is not usable through Docker Desktop or Colima on macOS. The repository’s docs/server.md contains the local Docker operator walkthrough.

Current limitations

Spending and concurrency limits are not enforced yet. Use your provider’s account controls for budgets. Interactive PTYs and attach are also unfinished.

The fake adapter is a test double, not a provider that runs your code. Live hosted setup and multi-provider routing still need verification against real accounts.