{"record":{"id":"6909f67c0f5139af","repo":"tinyhumansai/openhuman","slug":"docker-execution-failed-e","errorCode":null,"errorMessage":"Docker execution failed: {e}","messagePattern":"Docker execution failed: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/openhuman/sandbox/docker.rs","lineNumber":176,"sourceCode":"\n            let exit_code = output.status.code().unwrap_or(-1);\n            tracing::debug!(\n                exit_code = exit_code,\n                stdout_len = stdout.len(),\n                stderr_len = stderr.len(),\n                \"[sandbox:docker] container exited\"\n            );\n\n            Ok(SandboxExecResult {\n                exit_code,\n                stdout,\n                stderr,\n                timed_out: false,\n            })\n        }\n        Ok(Err(e)) => {\n            tracing::error!(error = %e, \"[sandbox:docker] failed to spawn container\");\n            anyhow::bail!(\"Docker execution failed: {e}\")\n        }\n        Err(_) => {\n            tracing::warn!(\n                timeout_secs = request.timeout.as_secs(),\n                \"[sandbox:docker] container timed out, killing\"\n            );\n            Ok(SandboxExecResult {\n                exit_code: -1,\n                stdout: String::new(),\n                stderr: format!(\n                    \"Command timed out after {}s and was killed\",\n                    request.timeout.as_secs()\n                ),\n                timed_out: true,\n            })\n        }\n    }\n}","sourceCodeStart":158,"sourceCodeEnd":194,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/sandbox/docker.rs#L158-L194","documentation":"docker_exec failed at the spawn/IO level (Ok(Err(e)) from running the container command) — the container never produced output. Typically Docker not running, the image missing, or a daemon/permission problem, as opposed to the command inside the container failing.","triggerScenarios":"Thrown at src/openhuman/sandbox/docker.rs:176 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Start Docker and confirm `docker info` works","Pull the sandbox image if it is missing","Fall back to the local OS jail backend if Docker is unavailable"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"749120085864ce16e0f273c7b86fac7740b39c5b","analyzedAt":"2026-08-17T21:21:45.363Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}