checking docker status

adding docker readiness status check to
servercontroller.cpp
This commit is contained in:
lunardunno
2023-12-02 12:00:51 +04:00
committed by GitHub
parent 9d49c5fb77
commit 08c506a489

View File

@@ -368,7 +368,7 @@ ErrorCode ServerController::installDockerWorker(const ServerCredentials &credent
return ErrorCode::ServerPacketManagerError;
if (stdOut.contains("command not found"))
return ErrorCode::ServerDockerFailedError;
if (stdOut.contains("Failed to"))
if (stdOut.contains("Docker status is not active"))
return ErrorCode::ServerDockerFailedError;
return error;