Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623110 - =app-emulation/docker-17.06.0 doesn't work well with terminal
Summary: =app-emulation/docker-17.06.0 doesn't work well with terminal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Tianon
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-30 01:26 UTC by Alex Turbov
Modified: 2017-09-12 12:53 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
check BASH variables (docker-17.06.png,33.34 KB, image/png)
2017-07-04 20:21 UTC, Alex Turbov
Details
trying to type `apt-get update && apt-get install mc` (docker-17.06-try-apt.png,64.33 KB, image/png)
2017-07-04 20:22 UTC, Alex Turbov
Details
run `mc` (docker-17.06-try-mc.png,166.35 KB, image/png)
2017-07-04 20:23 UTC, Alex Turbov
Details
MC after Ctrl+o (docker-17.06-try-mc-2.png,88.30 KB, image/png)
2017-07-04 20:23 UTC, Alex Turbov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Turbov 2017-06-30 01:26:53 UTC
Running any container with `docker run --rm --it ...` makes terminal behave incorrectly. After typing any symbol cursor moves to line start.

Another strange thing I've noticed: shell variables LINES and COLUMNS are swapped. Echo shows 191 line and 50 columns, meanwhile the real values are opposite.

zaufi@gentop〉~〉echo $LINES x $COLUMNS
50 x 191
zaufi@gentop〉~〉docker run -it ubuntu:16.04
root@e27ba56adeb3:/# echo $LINES x $COLUMNS
191 x 50

Also it makes Midnight Commander to look really weird...

Reproducible: Always
Comment 1 Jonas Stein gentoo-dev 2017-06-30 19:11:16 UTC
could you attach a screenshot?
Comment 2 Alex Turbov 2017-07-04 20:21:48 UTC
Created attachment 480788 [details]
check BASH variables
Comment 3 Alex Turbov 2017-07-04 20:22:41 UTC
Created attachment 480790 [details]
trying to type `apt-get update && apt-get install mc`
Comment 4 Alex Turbov 2017-07-04 20:23:06 UTC
Created attachment 480792 [details]
run `mc`
Comment 5 Alex Turbov 2017-07-04 20:23:44 UTC
Created attachment 480794 [details]
MC after Ctrl+o
Comment 6 Tomáš Cícha 2017-07-13 10:44:09 UTC
This is fixed in app-emulation/containerd 0.2.9 (which is already in the tree):

https://github.com/moby/moby/issues/33910

Is there any specific reason for the dependency being ~0.2.8?

Regards,

Tom
Comment 7 Manuel Rüger (RETIRED) gentoo-dev 2017-09-12 12:35:54 UTC
Please test again with docker-17.06.2 and containerd-0.2.9_p20170605
Comment 8 Alex Turbov 2017-09-12 12:53:48 UTC
Yeah, it works fine nowadays...