Checking docker status
Checking Docker activity. Checking and changing locale. Changing "command not found" handling for sh compatibility.
This commit is contained in:
parent
8331b9ea52
commit
5c494fa743
4 changed files with 9 additions and 2 deletions
|
@ -411,7 +411,9 @@ ErrorCode ServerController::installDockerWorker(const ServerCredentials &credent
|
|||
return ErrorCode::ServerPacketManagerError;
|
||||
if (stdOut.contains("Podman is not supported"))
|
||||
return ErrorCode::ServerPodmanIsNotSupported;
|
||||
if (stdOut.contains("command not found"))
|
||||
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