In docker env, Ctrl+P in shell doesn't work!
Ctrl+P doesn't work!
When you are working in a shell running in a docker, you will find your friendly Ctrl+P doesn't work as expected.
What causes this problem?
When you attach to docker, you need a detach mechanism and it is Ctrl+p,You may change it easily.
Solution
Add the following to ~/.docker/config.json and you are good to go.{
"detachKeys": "ctrl-e,e",
}
"detachKeys": "ctrl-e,e",
}
Comments
Post a Comment