Re:Show HN: ip2unix – Turn IP sockets into Unix domain sockets
by forty on Wednesday July 08, 2020 @02:59AM
(#23767579)
very interesting. A docker integration would be fun too (something like "docker run -p /tmp/socket:8080 ...") :)
[ Parent
| on HN ]
Re:Show HN: ip2unix – Turn IP sockets into Unix domain sockets
by aszlig on Wednesday July 08, 2020 @03:12AM
(#23767649)
I'm not very familiar with Docker, but wouldn't something like "docker run some_image ip2unix -r /tmp/socket:8080 ..." work?
Re:Show HN: ip2unix – Turn IP sockets into Unix domain sockets
by forty on Wednesday July 08, 2020 @06:32AM
(#23768584)
You could but it means:
- you need to add ip2unix in your images, which is not always convenient
- you still need to expose the socket outside the container (which is doable with volumes, but permissions can be a mess, especially if you use user namespaces)