Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions config/pruning.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,16 +158,16 @@ WARNING! This will remove:
Are you sure you want to continue? [y/N] y
```

To also prune volumes, add the `--volumes` flag:
To also prune volumes and unused images, add the `--volumes -a` flag:
Comment thread
coritanic marked this conversation as resolved.

```console
$ docker system prune --volumes
$ docker system prune --volumes -a

WARNING! This will remove:
- all stopped containers
- all networks not used by at least one container
- all volumes not used by at least one container
- all dangling images
- all images without at least one container associated to them
- all build cache
Are you sure you want to continue? [y/N] y
```
Expand Down