{"record":{"id":"bea947110521ae9b","repo":"tinyhumansai/openhuman","slug":"docker-not-found","errorCode":null,"errorMessage":"Docker not found","messagePattern":"Docker not found","errorType":"exception","errorClass":"io::Error","httpStatus":null,"severity":"error","filePath":"src/openhuman/security/docker.rs","lineNumber":25,"sourceCode":"#[derive(Debug, Clone)]\npub struct DockerSandbox {\n    image: String,\n}\n\nimpl Default for DockerSandbox {\n    fn default() -> Self {\n        Self {\n            image: \"alpine:latest\".to_string(),\n        }\n    }\n}\n\nimpl DockerSandbox {\n    pub fn new() -> std::io::Result<Self> {\n        if Self::is_installed() {\n            Ok(Self::default())\n        } else {\n            Err(std::io::Error::new(\n                std::io::ErrorKind::NotFound,\n                \"Docker not found\",\n            ))\n        }\n    }\n\n    pub fn with_image(image: String) -> std::io::Result<Self> {\n        if Self::is_installed() {\n            Ok(Self { image })\n        } else {\n            Err(std::io::Error::new(\n                std::io::ErrorKind::NotFound,\n                \"Docker not found\",\n            ))\n        }\n    }\n\n    pub fn probe() -> std::io::Result<Self> {","sourceCodeStart":7,"sourceCodeEnd":43,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/security/docker.rs#L7-L43","documentation":"Constructor guard in DockerSandbox::new(): is_installed() probes for the `docker` CLI and this NotFound error is returned when Docker is absent, so the container-based sandbox backend (default image alpine:latest) cannot be constructed on this host.","triggerScenarios":"Thrown at src/openhuman/security/docker.rs:25 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Install Docker Engine or Docker Desktop and ensure the `docker` CLI is on PATH","Start the Docker daemon if installed but stopped","Fall back to another sandbox backend (bubblewrap, landlock) via sandbox_mode"],"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"}