3 ms·
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 ..." shoul
by j1elo 5y ago
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 https://news.ycombinator.com/item?id=30255017
- kps 5y agoIf for some reason you do want a terminal, you can run `stty -onlcr` to turn off the NL → CR LF conversion.