The disk cleanup process that pruned inactive persistent volumes
by•
Triggered an environment cleanup utility to reclaim disk space after a long development sprint. The routine purged dangling containers alongside unattached storage volumes including a local staging database volume that wasn't actively mounted at that exact second.
The logs reported success but restoring the test environment required pulling down older offsite backups.
7 views
Replies
This is why deleting Docker volumes is blocked for my agents, together with `rm -rf` and `DROP`. A hook stops them before they run, dev or prod. We also keep a rule that a missing container doesn't mean missing data.