A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.docker.com/engine/reference/commandline/volume_prune/ below:

docker volume prune | Docker Docs

docker volume prune Description Remove unused local volumes Usage docker volume prune [OPTIONS]

Remove all unused local volumes. Unused local volumes are those which are not referenced by any containers. By default, it only removes anonymous volumes.

Option Default Description -a, --all API 1.42+ Remove all unused volumes, not just anonymous ones --filter Provide filter values (e.g. label=<label>) -f, --force Do not prompt for confirmation Filtering (--all, -a)

Use the --all flag to prune both unused anonymous and named volumes.

Filtering (--filter)

The filtering flag (--filter) format is of "key=value". If there is more than one filter, then pass multiple flags (e.g., --filter "foo=bar" --filter "bif=baz")

The currently supported filters are:

The label filter accepts two formats. One is the label=... (label=<key> or label=<key>=<value>), which removes volumes with the specified labels. The other format is the label!=... (label!=<key> or label!=<key>=<value>), which removes volumes without the specified labels.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4