mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor(cleanUpUnusedVolumes): Remove all unused volumes, not just anonymous ones
This commit is contained in:
@@ -109,7 +109,7 @@ export const cleanStoppedContainers = async () => {
|
||||
|
||||
export const cleanUpUnusedVolumes = async () => {
|
||||
try {
|
||||
await execAsync("docker volume prune --force");
|
||||
await execAsync("docker volume prune --all --force");
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
throw error;
|
||||
|
||||
Reference in New Issue
Block a user