Connect
Connect Docker Sandboxes on Integrations, and CostGraph starts sandboxes in your Docker Sandboxes account. You don’t run anything yourself.- In CostGraph, go to Integrations > Sandbox > Docker Sandboxes.
-
Enter these fields:
- Docker ID (
DOCKER_USERNAME, required): Your Docker ID. - Personal access token (
DOCKER_PAT, required): A Docker personal access token with Cloud Sandboxes access.
- Docker ID (
- Click Connect.
Your own dispatcher
To keep the key out of CostGraph or reach a private network, run your own dispatcher instead. Setprovider to dockercloud and the preceding fields as environment variables, as described in Run your own dispatcher.
Key and permissions
DOCKER_USERNAME is your Docker ID; DOCKER_PAT is a Docker personal access token created in Docker account settings > Personal access tokens with ‘Allow Cloud Sandboxes access’ selected. Requires an active Docker Agentic Platform subscription. The PAT needs the sandbox:use scope (granted by ‘Allow Cloud Sandboxes access’); registry permissions alone do not grant access, and no repository permission is needed. The account must also hold sandboxesCreate, sandboxesRead, sandboxesDelete, sandboxesExec and sandboxesCredential (exec). A list-specific permission is not documented. Sources: docs.docker.com: authentication, docs.docker.com: limits, docs.docker.com: sandboxes api, docs.docker.com: personal access tokens.Limits
- Sizes from micro (1 CPU / 2 GiB) to xl (16 CPU / 32 GiB). (source)
- Default account quotas: 10 concurrent sandboxes, 50 stored sandboxes (stopped sandboxes still count). (source)
- Max lifetime, idle stop, regions and architecture are not documented on these pages. (source)