Docker Community Forums

Share and learn in the Docker community.

Docker windows terminal settings


(Mistrz7) #1

Hello,
I’m java developer and I have used docker for last few months. It’s installed on windows 7, actual client version is 1.6.2. Generally eferything is great and works fine, but there is one litte thing to fix. When I start docker (ubuntu image) container in interactive mode in classic windows terminal I would like to edit ubuntu files using eg vi. Unfortunatelly When I try to roll down text, only last line is changing, rest of text is still in the same place. How to fix it?

Best Regards
sw


(Jeff Anderson) #2

I just installed the latest docker toolbox on my windows 7 machine at home. That includes the docker 1.8.1 client. I was able to run vim successfully in both cmd and powershell:

docker run -it ubuntu:14.04 bash
root@2988b6bf4084:/# apt-get -y update && apt-get -y install vim
root@2988b6bf4084:/# vim

I got the full screen interactive vim experience.

Does the issue persist if you use the latest version of the docker client? My best guess is that something was updated in the docker client between 1.6.2 and 1.8.1.


(Mistrz7) #3

Hello,
I just upgraded my boot2docker, now it is version:
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 7c8fca2
OS/Arch (client): windows/amd64
Server version: 1.8.1
Server API version: 1.20
Go version (server): go1.4.2
Git commit (server): d12ea79
OS/Arch (server): linux/amd64
Generally nothing was changed, I have still this same problem. I can’t install tollbox becouse requirement is: “running Windows 7.1, 8/8.1 or newer to run Docker”. I have got windows 7…


(Jeff Anderson) #4

It looks like you are still running the 1.6.2 docker client. you’ll need to grab the latest 1.8.1 docker.exe and drop that in place over your existing 1.6.2 docker.exe file to upgrade the client.


(Mistrz7) #5

You were right. So I have changed docker to version 1.8.1:
Client:
Version: 1.8.1
API version: 1.20
Go version: go1.4.2
Git commit: d12ea79
Built: Thu Aug 13 02:49:29 UTC 2015
OS/Arch: windows/amd64

Server:
Version: 1.8.1
API version: 1.20
Go version: go1.4.2
Git commit: d12ea79
Built: Thu Aug 13 02:49:29 UTC 2015
OS/Arch: linux/amd64

Still this same problem…