Skip to content

Comment on Show HN: ip2unix – Turn IP sockets into Unix domain sockets

Comments

very interesting. A docker integration would be fun too (something like "docker run -p /tmp/socket:8080 ...") :)

I'm not very familiar with Docker, but wouldn't something like "docker run some_image ip2unix -r /tmp/socket:8080 ..." work?

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)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.