Share feedback
Answers are generated based on the documentation.

sbx template save

DescriptionSave a snapshot of the sandbox as a template
Usagesbx template save SANDBOX TAG [flags]

Description

Save a snapshot of the sandbox as a template.

The saved image is stored in the sandbox runtime's image store and can be used as a template for new sandboxes with: sbx run -t TAG AGENT [WORKSPACE]

Use --output to also export the image to a tar file that can be shared and loaded on another host with: sbx template load FILE

Options

OptionDefaultDescription
-o, --outputAlso export the image to a tar file

Global options

OptionDefaultDescription
-D, --debugEnable debug logging

Examples

# Save as a template for new sandboxes on this host
sbx template save my-sandbox myimage:v1.0

# Also export to a shareable tar file
sbx template save my-sandbox myimage:v1.0 --output /tmp/myimage.tar