basically, I have a running container I would like to attach console on it.
I have used docker run -p 8080:80 test
to start my container. It seems to be working fine.
my docker ps looks like this :
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
81b27e2525f1 test "/bin/sh -c /start.sh" 13 minutes ago Up 13 minutes 8080/tcp, 0.0.0.0:8080->80/tcp vigilant_bassi
Then tried to attach my a console
user@user:~$ docker attach 81b27e2525f1
ls
^C
ls
^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[B^[[B^[[B^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^C^C^C^C^[[A^[[A^[[A^[[A^[[A
This is not working and I am unable to detach.
Then I thought it was a bug I tried to open on new and I had the exact same issue. Now I have multiple consoles blocked.
I found this question, it is not the same problem.
What am I doing wrong?
ps my docker version is : Docker version 1.13.1, build 092cba3