Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken terminal output with docker-compose run #4910

Closed
johanneswuerbach opened this issue Jun 8, 2017 · 5 comments
Closed

Broken terminal output with docker-compose run #4910

johanneswuerbach opened this issue Jun 8, 2017 · 5 comments

Comments

@johanneswuerbach
Copy link

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:/#
@shin-
Copy link

shin- commented Jun 8, 2017

It's an engine bug that will be fixed in the next RC (RC3). See moby/moby#33577 for details.

Workaround until then: Use the -T flag.

@shin- shin- closed this as completed Jun 8, 2017
@FranklinYu
Copy link

Another workaround is to docker-compose up and manually docker exec into the container.

@FranklinYu
Copy link

This is fixed in 17.06.0-rc4-ce-mac15 on my machine.

@torarnv
Copy link

torarnv commented Aug 2, 2018

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

@FranklinYu
Copy link

FranklinYu commented Aug 3, 2018

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants