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
There is now a solution to this so thought I would update it here for others' convenience.
Just add a ~/.docker/config.json and set your own keybinding.
~/.docker/config.json
{ "detachKeys": "ctrl-e,e" }
Now you can use Ctrl-p in bash and emacs again. Yeah!
Ctrl-p