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
could you attach a screenshot?
Created attachment 480788 [details] check BASH variables
Created attachment 480790 [details] trying to type `apt-get update && apt-get install mc`
Created attachment 480792 [details] run `mc`
Created attachment 480794 [details] MC after Ctrl+o
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
Please test again with docker-17.06.2 and containerd-0.2.9_p20170605
Yeah, it works fine nowadays...