Error for cgroup mountpoint

Added handling of message: cgroup mountpoint does not exist.
This commit is contained in:
lunardunno 2025-03-22 14:36:13 +04:00 committed by GitHub
parent 2a6e6a1e24
commit fe0dfbc13d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -467,6 +467,8 @@ ErrorCode ServerController::runContainerWorker(const ServerCredentials &credenti
return ErrorCode::ServerPortAlreadyAllocatedError;
if (stdOut.contains("is already in use by container"))
return ErrorCode::ServerPortAlreadyAllocatedError;
if (stdOut.contains("cgroup mountpoint does not exist"))
return ErrorCode::ServerCgroupMuntpointDoesNotExist;
if (stdOut.contains("invalid publish"))
return ErrorCode::ServerDockerFailedError;