I'm having a problem using the key arrows with Pry and docker-compose. Every time i try to use the key arrows i'm obtaining ^[[A, for example. If i use irb in the terminal everything works without a problem.
I'm in a mac with BigSur 11.4 and using bash in iTerm.
Can anyone help?
I had the same problem on a Docker container hosted on my laptop (macOS Big Sur 11.6) when using the image
nginx. My mistake was to access the container by tapingdocker exec -it CONTAINER_ID /bin/shinstead of/bin/bash.Once in the container, I solved it by taping
/bin/bashin the terminal: