fix(docker): volumes get delete when stopping a service if Delete Unused Volumes is activated (#6317)

This commit is contained in:
🏔️ Peak authored and GitHub committed 2025-08-04 21:15:56 +02:00
1 parent 10823666b2
commit 2a526c54d5
14 files changed
+49 -32

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ class DockerCleanup extends Component
public function manualCleanup()
{
try {
DockerCleanupJob::dispatch($this->server, true);
DockerCleanupJob::dispatch($this->server, true, $this->deleteUnusedVolumes, $this->deleteUnusedNetworks);
$this->dispatch('success', 'Manual cleanup job started. Depending on the amount of data, this might take a while.');
} catch (\Throwable $e) {
return handleError($e, $this);