pub async fn resolve_docker_client(
maybe_host: Option<&str>,
) -> Result<(DockerClient, Option<String>)>Expand description
Resolve which Docker client to use based on –host flag and default_host config
Returns (DockerClient, Option<host_name>) where host_name is Some for remote connections.
Resolution order:
- –host flag (explicit)
- default_host from hosts.json
- Local Docker (no host_name)