Add detach-keys = "ctrl-@,ctrl-q"
to [engine]
section in ~/.config/containers/containers.conf
file
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).