Earlier quoted context omitted.
Powershell accomplishes this by making the pipes pass tagged objects around containing streams. This actually has a lot of nice properties when you go to manipulate the objects programatically. And it's a logical extension of the UNIX stream model, where in reality you're passing around a whole heck of a lot more than text when you type 'cat | sed'. You're passing environment context, multiple streams, etc. The idea…
I do not understand what is the problem when using Docker. Please explain?
Stderr is sort of an annoying detail. Especially given how inconsistent output to it is and how it has different rules for how output flushes.