chore: Update docker image pruning command to exclude managed images
This commit is contained in:
parent
a17daf96be
commit
87ee3c511c
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ private function getCommands(): array
|
||||||
{
|
{
|
||||||
$commonCommands = [
|
$commonCommands = [
|
||||||
'docker container prune -f --filter "label=coolify.managed=true"',
|
'docker container prune -f --filter "label=coolify.managed=true"',
|
||||||
'docker image prune -af',
|
'docker image prune -af --filter "label!=coolify.managed=true"',
|
||||||
'docker builder prune -af',
|
'docker builder prune -af',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue