diff --git a/app/Actions/Server/CleanupDocker.php b/app/Actions/Server/CleanupDocker.php index 3a0359c69..35cab4d11 100644 --- a/app/Actions/Server/CleanupDocker.php +++ b/app/Actions/Server/CleanupDocker.php @@ -23,14 +23,14 @@ public function handle(Server $server, bool $force = true) instant_remote_process(['docker builder prune -f'], $server, false); } // cleanup networks - $networks = collectDockerNetworksByServer($server); - $proxyNetworks = collectProxyDockerNetworksByServer($server); - $diff = $proxyNetworks->diff($networks); - if ($diff->count() > 0) { - $diff->map(function ($network) use ($server) { - instant_remote_process(["docker network disconnect $network coolify-proxy"], $server); - instant_remote_process(["docker network rm $network"], $server); - }); - } + // $networks = collectDockerNetworksByServer($server); + // $proxyNetworks = collectProxyDockerNetworksByServer($server); + // $diff = $proxyNetworks->diff($networks); + // if ($diff->count() > 0) { + // $diff->map(function ($network) use ($server) { + // instant_remote_process(["docker network disconnect $network coolify-proxy"], $server); + // instant_remote_process(["docker network rm $network"], $server); + // }); + // } } }