Error for unsupported dockers

Added error for unsupported moby-engine and podman-docker.
This commit is contained in:
lunardunno 2025-03-18 19:57:00 +04:00
parent bb6de0c22a
commit 83850bd997
3 changed files with 5 additions and 1 deletions

View file

@ -411,6 +411,8 @@ ErrorCode ServerController::installDockerWorker(const ServerCredentials &credent
return ErrorCode::ServerPacketManagerError;
if (stdOut.contains("sudo:") && stdOut.contains("not found"))
return ErrorCode::ServerDockerFailedError;
if (stdOut.contains("Docker is not supported"))
return ErrorCode::ServerDockerNotSupported;
if (stdOut.contains("Failed docker status"))
return ErrorCode::ServerDockerStatusNotActive;