Enable Ctrl+P in Docker

Learn how to edit the Docker configuration file to change default detach keys. This guide provides a simple example using the 'config.json' file.

1. Config

edit ~/.docker/config.json 1

1
2
3
{
    "detachKeys": "ctrl-q,q"
}

2. Reference

使用 Hugo 构建
主题 StackJimmy 设计