mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
docs: 'uc docs' command to generate CLI reference docs
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
# uc volume rm
|
||||
|
||||
Remove one or more volumes.
|
||||
|
||||
## Synopsis
|
||||
|
||||
Remove one or more volumes. You cannot remove a volume that is in use by a container.
|
||||
|
||||
```
|
||||
uc volume rm VOLUME_NAME [VOLUME_NAME...] [flags]
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
```
|
||||
-c, --context string Name of the cluster context. (default is the current context)
|
||||
-f, --force Force the removal of one or more volumes.
|
||||
-h, --help help for rm
|
||||
-m, --machine strings Name or ID of the machine to remove one or more volumes from. Can be specified multiple times or as a comma-separated list.
|
||||
If not specified, the found volume(s) will be removed from all machines.
|
||||
-y, --yes Do not prompt for confirmation before removing the volume(s).
|
||||
```
|
||||
|
||||
## Options inherited from parent commands
|
||||
|
||||
```
|
||||
--connect string Connect to a remote cluster machine without using the Uncloud configuration file.
|
||||
Format: [ssh://]user@host[:port] or tcp://host:port
|
||||
--uncloud-config string Path to the Uncloud configuration file. (default "~/.config/uncloud/config.yaml")
|
||||
```
|
||||
|
||||
## See also
|
||||
|
||||
* [uc volume](uc_volume.md) - Manage volumes in an Uncloud cluster.
|
||||
|
||||
Reference in New Issue
Block a user