sbx volume rm
| 内容説明 | Delete a persistent volume |
|---|---|
| 利用方法 | sbx volume rm NAME [flags] |
Description
Delete a persistent volume by name.
Volumes attached to active sandboxes cannot be deleted; detach them first by stopping or deleting the sandbox(es) that mount the volume.
Options
| オプション | デフォルト | 内容説明 |
|---|---|---|
-f, --force | Skip confirmation prompt |
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) | |
--cloud-api-url | https://api.sandboxes-cloud.docker.com | Cloud Sandboxes API base URL; only used with --cloud. Defaults to prod (https://api.sandboxes-cloud.docker.com). Set DOCKER_CLOUD_API_URL or pass this flag to override; a legacy value ending in /v1 is accepted. |
-D, --debug | Enable debug logging |
Examples
sbx --cloud volume rm my-cache