go-connections icon indicating copy to clipboard operation
go-connections copied to clipboard

Support Unix socket transport on Windows platform

Open arixmkii opened this issue 1 year ago • 1 comments

It currently returns error "protocol not supported" https://github.com/docker/go-connections/blob/5df8d2b30ca886f2d94740ce3c54abd58a5bb2c9/sockets/sockets_windows.go#L13

But modern Windows version support AF_UNIX https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/ and it can possibly be used as a transport for Docker or Docker compatible APIs if the container provider decides to expose this in addition to named pipes or if user decides to use some sort of ncat like tool to forward npipe to unix socket for the experience more close to that on other platforms.

arixmkii avatar Aug 31 '24 13:08 arixmkii