Skip to content

Commit 589061e

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

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
@@ -409,6 +409,20 @@ container stats --no-stream web
409409
container stats --format json --no-stream web
410410
```
411411

412+
### `container prune`
413+
414+
Removes stopped containers to reclaim disk space. The command outputs the amount of space freed after deletion.
415+
416+
**Usage**
417+
418+
```bash
419+
container prune [--debug]
420+
```
421+
422+
**Options**
423+
424+
No options.
425+
412426
## Image Management
413427

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

0 commit comments

Comments
 (0)