use the command below to ssh to container
docker exec -e COLUMNS="`tput cols`" -e LINES="`tput lines`" -it [container name] /bin/bash -l