Skip to content

Commit f0eb131

Browse files
authored
[docs]: add volume prune to command reference (#910)
## Type of Change - [ ] Bug fix - [ ] New feature - [ ] Breaking change - [x] Documentation update ## Motivation and Context Looks like this got accidentally deleted in #805 ## Testing - [ ] Tested locally - [ ] Added/updated tests - [x] Added/updated docs
1 parent 1c0e988 commit f0eb131

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/command-reference.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,20 @@ container volume delete vol1 vol2 vol3
783783
container volume delete --all
784784
```
785785

786+
### `container volume prune`
787+
788+
Removes all volumes that have no container references. This includes volumes that are not attached to any running or stopped containers. The command reports the actual disk space reclaimed after deletion.
789+
790+
**Usage**
791+
792+
```bash
793+
container volume prune [--debug]
794+
```
795+
796+
**Options**
797+
798+
No options.
799+
786800
### `container volume list (ls)`
787801

788802
Lists volumes.

0 commit comments

Comments
 (0)