Looks like it supports only HTTP
def construct(docker_host) do
case URI.parse(docker_host) do
%URI{scheme: "unix", path: path} ->
"http+unix://#{URI.encode_www_form(path)}/#{@api_version}"
%URI{scheme: "tcp"} = uri ->
URI.to_string(%{uri | scheme: "http", path: "/#{@api_version}"})
%URI{scheme: _, authority: _} = uri ->
URI.to_string(%{uri | path: "/#{@api_version}"})
end
end
Looks like it supports only HTTP