mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 12:33:06 +00:00
force volume prune
This commit is contained in:
@@ -1782,7 +1782,7 @@ export async function cleanupDockerStorage(dockerId, volumes = false) {
|
||||
} catch (error) { }
|
||||
if (volumes) {
|
||||
try {
|
||||
await executeCommand({ dockerId, command: `docker volume prune -a` });
|
||||
await executeCommand({ dockerId, command: `docker volume prune -af` });
|
||||
} catch (error) { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user