sbx template
| Description | Manage sandbox templates |
|---|---|
| Usage | sbx template COMMAND |
Description
Manage sandbox templates.
Templates are saved snapshots of sandboxes that can be reused to create new sandboxes with: sbx run -t TAG AGENT [WORKSPACE]
Cloud mode (--cloud) snapshots and loads typically produce multi-GB artifacts and take several minutes. See https://docs.docker.com/ai/sandboxes/ for details.
Commands
| Command | Description |
|---|---|
sbx template inspect | Show full metadata for a single template |
sbx template load | Load an image from a tar file into the sandbox runtime |
sbx template ls | List template images |
sbx template rm | Remove a template image |
sbx template save | Save a snapshot of the sandbox as a template |
Global options
| Option | Default | Description |
|---|---|---|
--cloud | Dispatch to Docker Cloud Sandboxes API instead of local sandboxd (supported by a growing set of verbs — run 'sbx --cloud --help' for the current list) | |
--cloud-api-url | https://api.sandboxes-cloud.docker.com | Cloud Sandboxes API base URL; only used with --cloud. Defaults to prod (https://api.sandboxes-cloud.docker.com). Set DOCKER_CLOUD_API_URL or pass this flag to override; a legacy value ending in /v1 is accepted. |
-D, --debug | Enable debug logging |