Merge b8b3949f13 into d3715d00ae
This commit is contained in:
commit
485384bd0a
4 changed files with 34 additions and 13 deletions
|
|
@ -416,7 +416,11 @@ ErrorCode ServerController::installDockerWorker(const ServerCredentials &credent
|
|||
qDebug().noquote() << "ServerController::installDockerWorker" << stdOut;
|
||||
if (stdOut.contains("lock"))
|
||||
return ErrorCode::ServerPacketManagerError;
|
||||
if (stdOut.contains("command not found"))
|
||||
if (stdOut.contains("Podman is not supported"))
|
||||
return ErrorCode::ServerPodmanIsNotSupported;
|
||||
if (stdOut.contains("Status Docker is not active"))
|
||||
return ErrorCode::ServerDockerStatusIsNotActive;
|
||||
if (stdOut.contains("sudo:") && stdOut.contains("not found"))
|
||||
return ErrorCode::ServerDockerFailedError;
|
||||
|
||||
return error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue