News for hackers. Stuff that matters.
Re:CR+LF Has a Long History by j1elo on Tuesday February 08, 2022 @04:39AM (#30256512)
UPDATE: The comment by user thristian [0] did indeed contain an explanation for this and hinted to what is the solution to this problem!

"docker run ..." should be scripted without "-t", in order to run the command without a pseudo-terminal, which then yields output with Linux style line breaks ("\n").

[0]: https://news.ycombinator.com/item?id=30255017

Re:CR+LF Has a Long History by kps on Tuesday February 08, 2022 @12:51PM (#30261780)
If for some reason you do want a terminal, you can run `stty -onlcr` to turn off the NL → CR LF conversion.