The terminal output seems to be missing line position resets when running an interactive terminal.
Version 17.06.0-rc2-ce-mac14 (18280)
Channel: edge
e4067577a3
docker-compose.yml
version: '2'
services:
test:
image: ubuntu:14.04
And when running the test service and just pressing enter the following happens:
docker-compose run --rm test bash
root@aa30d9f1dbe8:/#
root@aa30d9f1dbe8:/#
root@aa30d9f1dbe8:/#
It's an engine bug that will be fixed in the next RC (RC3). See https://github.com/moby/moby/pull/33577 for details.
Workaround until then: Use the -T
flag.
Another workaround is to docker-compose up
and manually docker exec
into the container.
This is fixed in 17.06.0-rc4-ce-mac15 on my machine.
Having this issue with docker-compose version 1.21.1, build 5a3f1a3
and Docker version 18.03.1-ce, build 9ee9f40
. Doing a reset
fixes it. So does passing -T
to docker-compose
@torarnv How about Docker alone, without Docker Compose? This issue should have been fixed. If you still observe this, it is probably a regression issue.
Most helpful comment
It's an engine bug that will be fixed in the next RC (RC3). See https://github.com/moby/moby/pull/33577 for details.
Workaround until then: Use the
-T
flag.