mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 16:15:17 +00:00
fix: only remove coolify managed containers
This commit is contained in:
1 parent
e861c3fc0f
commit
5d43ea551a
1 file changed
+1
-1
@@ -1614,7 +1614,7 @@ export async function cleanupDockerStorage(dockerId, lowDiskSpace, force) {
|
||||
return
|
||||
}
|
||||
try {
|
||||
await executeDockerCmd({ dockerId, command: `docker container prune -f` })
|
||||
await executeDockerCmd({ dockerId, command: `docker container prune -f --filter "label=coolify.managed=true"` })
|
||||
} catch (error) {
|
||||
//console.log(error);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user