sbx save
| 内容説明 | Save a snapshot of the sandbox as a template |
|---|---|
| 利用方法 | sbx save SANDBOX TAG [flags] |
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.
Options
| オプション | デフォルト | 内容説明 |
|---|---|---|
-o, --output | Save image to specified tar file instead of loading into host Docker |
Global options
| オプション | デフォルト | 内容説明 |
|---|---|---|
-D, --debug | Enable debug logging |
Examples
# Load into host Docker (requires host Docker running)
sbx save my-sandbox myimage:v1.0
# Save to file (works without host Docker)
sbx save my-sandbox myimage:v1.0 --output /tmp/myimage.tar