Skip to main content

resolve_docker_client

Function resolve_docker_client 

Source
pub async fn resolve_docker_client(
    maybe_host: Option<&str>,
) -> Result<(DockerClient, Option<String>)>
Expand description

Resolve which Docker client to use based on an explicit target host name

Returns (DockerClient, Option<host_name>) where host_name is Some for remote connections.