Skip to main content

is_docker_not_found

Function is_docker_not_found 

Source
pub fn is_docker_not_found(success: bool, stderr: &str) -> bool
Expand description

Whether a failed docker inspect answered that the object is unknown: Error: No such object: <name> (docker inspect, Docker 29 prints it lower-case) or Error response from daemon: No such container: <name>. A daemon that cannot be reached (“Cannot connect”, “failed to connect … no such file or directory”) does not match.