Share feedback
Answers are generated based on the documentation.

sbx template ls

DescriptionList template images
Usagesbx template ls [flags]

Description

List tagged template images stored in the sandbox runtime's image store.

With --cloud: List cloud sandbox templates.

Options

OptionDefaultDescription
-a, --allInclude digest-only and untagged images
--digestsShow image digests
--formatOutput format: table, json or yaml
--jsonOutput in JSON format
--no-truncShow full image IDs
-q, --quietOnly display template names

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)
-D, --debugEnable debug logging
--no-inputNever prompt; commands that need an answer fail with the command to run instead

Examples

# List tagged template images
sbx template ls

# Include digest-only and untagged images with their digests and full IDs
sbx template ls --all --digests --no-trunc

# Output in JSON format
sbx template ls --json

# Cloud: list templates
sbx --cloud template ls

# Cloud: output in JSON format
sbx --cloud template ls --json