aio-interface: offer system prune button

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L.
2026-02-27 14:48:21 +01:00
parent c1faa785b3
commit 4f7ccdedb5
4 changed files with 43 additions and 0 deletions

View File

@@ -285,6 +285,11 @@ readonly class DockerController {
return $response->withStatus(201)->withHeader('Location', '.');
}
public function SystemPrune(Request $request, Response $response, array $args) : Response {
$this->dockerActionManager->SystemPrune();
return $response->withStatus(201)->withHeader('Location', '.');
}
public function stopTopContainer() : void {
$id = self::TOP_CONTAINER;
$this->PerformRecursiveContainerStop($id);