-- Leo's gemini proxy

-- Connecting to g.codelearn.me:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Podman detach keys


TLDR;


Add `detach-keys = "ctrl-@,ctrl-q"` to `[engine]` section in `~/.config/containers/containers.conf` file


Description


I recently switched to Podman and the only issue I faced is CTRL+P won't work properly inside containers.


That's exactly the same issue I had with Docker, described in my Docker detach keys post.


The solution from that post doesn't work since it was purely docker-specific configuration file.


In case of Podman the configuration file is `~/.config/containers/containers.conf`.


The line that must be added is `detach_keys = "ctrl-@,ctrl-q"` (feel free to choose any other sequence).


The line must be added under `[engine]` table.


When this is done `ctrl-p` is not going to be a keybinding that starts an escape sequence.

-- Response ended

-- Page fetched on Sun May 12 06:54:49 2024