kittynode_core/application/
is_docker_running.rs

1use crate::infra::docker::get_docker_instance;
2use tracing::warn;
3
4pub async fn is_docker_running() -> bool {
5    match get_docker_instance().await {
6        Ok(_) => true,
7        Err(err) => {
8            warn!("Docker not reachable: {}", err);
9            false
10        }
11    }
12}