As I understand it, I cannot achieve the following without delving under the hood. I was hoping that someone could orient me in the most efficient direction.
I would like to chain docker containers together like in a traditional unix pipeline. While it is possible to do this directly by chaining 'docker run' commands, this is unfavourable as the I/O will go via the docker HTTP API. I can use a fifo in exactly the same way as a traditional unix pipe for this purpose (it will provide proper backpressure, rather than filling disk or memory). How might I mount a fifo from the host into my containers such that it is the exact same kernel object in both? (so that it is as fast as a normal unix pipeline)
Many thanks!
-Duncan