Share feedback
Answers are generated based on the documentation.

sbx template

DescriptionManage sandbox templates
Usagesbx 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

CommandDescription
sbx template inspectShow full metadata for a single template
sbx template loadLoad an image from a tar file into the sandbox runtime
sbx template lsList template images
sbx template rmRemove a template image
sbx template saveSave a snapshot of the sandbox as a template

Global options

OptionDefaultDescription
--cloudDispatch 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-urlhttps://api.sandboxes-cloud.docker.comCloud 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, --debugEnable debug logging