Skip to content

Conversation

@rnwood13
Copy link

@rnwood13 rnwood13 commented Mar 2, 2024

Description

The docker volume prune command does work the same way in Docker version 23.0 or greater, in that it now only removes anonymous volumes by default. unRAID version 6.12.8 updated Docker to version 24.0.9 (see release notes). To restore the original functionality one can add the --all flag to the command, which removes all dangling volumes.

This change adds a check to Docker version and modifies the docker volume prune command if using version 23.0 or greater.

See Docker CLI issue #4028 for details.

How Has This Been Tested?

This has been tested on unRAID version 6.12.8 running Docker version 24.0.9, and also on a non-unRAID Linux machine running Docker version 20.10.25.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant