sbx template rm
| 内容説明 | Remove a template image |
|---|---|
| 利用方法 | sbx template rm TAG|ID|NAME [flags] |
Description
Remove a template image from the sandbox runtime's image store.
The image can be identified by tag (e.g. "myimage:v1.0") or by image ID (full or prefix, e.g. "abc123"). Use "sbx template ls" to see available images and their IDs.
With --cloud: The template can be identified by its tmpl_* ID or by its human name (resolved via the server-side ?name= filter). Use "sbx --cloud template ls".
Options
| オプション | デフォルト | 内容説明 |
|---|---|---|
-f, --force | Skip confirmation prompts |
Global options
| オプション | デフォルト | 内容説明 |
|---|---|---|
--cloud | Dispatch 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, --debug | Enable debug logging |
Examples
# Remove by tag
sbx template rm myimage:v1.0
# Remove by image ID (prefix)
sbx template rm abc123
# Cloud: remove by name
sbx --cloud template rm my-template
# Cloud: remove by tmpl_* id
sbx --cloud template rm tmpl_abc123