I have two containers I am trying to orchestrate with Dagger: call them producer and consumer. The consumer listens for HTTP traffic on a unix domain socket that it creates. This socket also orchestrates its termination. The producer "tees" the output of some process into HTTP messages into the domain socket.
Is there any way to share just the socket and not the containing directory? It's not a huge deal but was just curious
Example of one way that seems to work and one that does not https://gist.github.com/elee/03b4c4a9d4351e26ed9be5c4e69e55a4