hyperkit
hyperkit copied to clipboard
Connecting by Unix Socket
Is there any way to connect with just the Unix socket (/var/lib/lxd/unix.socket) without having LXD listen to the network?
Thanks!
Two libs for hitting unix:// sockets:
https://github.com/puppetlabs/net_http_unix/blob/master/README.md https://github.com/excon/excon/blob/master/README.md#unix-socket-support
It seems to be easier to pivot directly to them than trying to adapt sawyer/faraday to handle unix://: https://stackoverflow.com/questions/39257339/using-faraday-to-make-http-requests-over-a-unix-socket