Skip to content

Commit 79c4f5e

Browse files
committed
Add container prune docs
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
1 parent c782373 commit 79c4f5e

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
@@ -414,6 +414,20 @@ container stats --no-stream web
414414
container stats --format json --no-stream web
415415
```
416416

417+
### `container prune`
418+
419+
Removes stopped containers to reclaim disk space. The command outputs the amount of space freed after deletion.
420+
421+
**Usage**
422+
423+
```bash
424+
container prune [--debug]
425+
```
426+
427+
**Options**
428+
429+
No options.
430+
417431
## Image Management
418432

419433
### `container image list (ls)`

0 commit comments

Comments
 (0)