Share feedback
Answers are generated based on the documentation.

docker sandbox save

DescriptionSave a snapshot of the sandbox as a template
Usagedocker sandbox save SANDBOX TAG

Description

Save a snapshot of the sandbox as a template.

By default, the image is loaded into the host's Docker daemon (requires Docker to be running). Use --output to save the image to a tar file instead.

Examples:

Load into host Docker (requires host Docker running)

docker sandbox save my-sandbox myimage:v1.0

Save to file (works without host Docker)

docker sandbox save my-sandbox myimage:v1.0 --output /tmp/myimage.tar

Options

OptionDefaultDescription
-o, --outputSave image to specified tar file instead of loading into host Docker