I am trying to query the docker engine via
Not quite sure how to set up
HTTP::Client with a unix socket.
I see a bunch of old shards using
HTTP::Client.unix but that seems to be obsolete.
Can anyone point me in the right direction?
I naively tried:
require "uri" require "http/client" uri = URI.parse "unix:///var/run/docker.sock" client = HTTP::Client.new uri puts client
But get a
Unhandled exception: Unsupported scheme: unix