I am using docker run /bin/bash to develop my container and every time I want to use Ctrl+p in a terminal or in emacs, I have to type it twice, since d
docker run /bin/bash
Ctrl+p
To use this without changing global configuration
docker exec --detach-keys='ctrl-e,e' -ti foo /bin/bash