Files
nixpkgs/nixos/modules/virtualisation/docker.nix
Eva Emmerich 88782420cd docker: add option to prune all volumes when auto pruning
it is not possible to prune all volumes using `docker system prune`,
the best that can be done is the removal of anonymous volumes using the
`--volumes` flag
https://docs.docker.com/reference/cli/docker/system/prune/#description

add new option `autoPrune.allVolumes.enable` which runs
`docker volume prune --all --force` when the system prune service runs.
https://docs.docker.com/reference/cli/docker/volume/prune/

add new test for this feature, and the autoPrune feature
2026-05-12 10:01:09 +02:00

12 KiB