remove_volume
Delete a Docker volume by name after user confirmation. Preview the deletion first; pass confirm=True to permanently remove data. Fails if the volume is in use.
Instructions
Deletes a Docker volume by name. Data stored in it is permanently lost. Fails if the volume is currently in use by a container. The first call (confirm=False, the default) does NOT delete anything — it only previews what would happen. Only pass confirm=True after the user has explicitly agreed to the deletion. Args: volume_name: name of the volume to remove confirm: must be True to actually perform the deletion (default False)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| volume_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |