0

I have two containers; producer and consumer on the default bridge network with docker-compose. producer has a service running on a local socket and consumer cannot access it.

I need to mirror a local socket to another one that will accept remote connections.

I've tried:

nc -l -s `hostname -i` -p 1235 0<servicepipe | nc localhost 1234 | tee servicepipe

Which works via localhost:1235 on the Docker host but not from the producer container.

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.