From f0eb13176c5d5208ec6c262d7ed0cfbc08aa6d6f Mon Sep 17 00:00:00 2001 From: Saehej Kang Date: Fri, 21 Nov 2025 15:33:50 -0800 Subject: [PATCH] [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 --- docs/command-reference.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/command-reference.md b/docs/command-reference.md index 290a8812..fcd05d64 100644 --- a/docs/command-reference.md +++ b/docs/command-reference.md @@ -783,6 +783,20 @@ container volume delete vol1 vol2 vol3 container volume delete --all ``` +### `container volume prune` + +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. + +**Usage** + +```bash +container volume prune [--debug] +``` + +**Options** + +No options. + ### `container volume list (ls)` Lists volumes.