This is the same issue that was posted on Docker for Mac forum.
When I do run any linux container using docker for win (Docker version 17.06.0-ce-rc1, build 7f8486a) new lines are idented
On windows container everything works fine.
Should I fill this as a bug in docker engine?
I have the exact same problem. Upgraded today to 17.06.0-ce-rc2 and the problem persists…
This makes it extremely difficult to execute commands within the container, specially if they produce long outputs (for instance if your installing a package). Tried with Ubuntu, Alpine and CentOS based container; all with this problem!