Y
Hacker News
new
|
ask
|
show
|
jobs
by
phoyd
1791 days ago
Now Docker should provide some way to bridge container ports to UDS. That would be perfect.
2 comments
TechBro8615
1791 days ago
You can bind mount the socket in a volume. You can also do this with named volumes shared between containers. You’ll need to make sure the GID/UIDs match, but it works great. It’s often faster for inter service communication than the Docker proxy.
link
yrro
1791 days ago
Quick hack for you:
socat TCP-LISTEN:4000,fork UNIX-CONNECT:/run/yoursock
link