2 ms·
Now Docker should provide some way to bridge container ports to UDS. That would be perfect.
by phoyd 5y ago
Now Docker should provide some way to bridge container
ports to UDS. That would be perfect.
- TechBro8615 5y agoYou 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.
- yrro 5y agoQuick hack for you: socat TCP-LISTEN:4000,fork UNIX-CONNECT:/run/yoursock