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",
}


There are some other properties available to tweak how docker command works. You may find it here.


Comments

Popular posts from this blog

kde ksshaskpass ssh-agent plasma

SIP call using linphone CLI and voipbuster