podman - containers stuck in stopping state after reboot
0
votes
1
answer
5075
views
I have now bumped into this problem several times - some podman containers get stuck in the stopping state, but I'm not sure how to tackle the problem.
[grant@patches patches]$ podman ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
434645aa71eb docker.io/library/postgres:15.3 postgres 40 minutes ago Stopping patches-psql
no amount of force killing seems to stop the process. Ex:
[grant@patches patches]$ podman kill patches-psql
2023-08-11T19:17:28.307348Z: open pidfd: No such process
Error: container state improper: stopped
[grant@patches patches]$ podman ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
434645aa71eb docker.io/library/postgres:15.3 postgres 52 minutes ago Stopping patches-psql
I can remove the container with rm -f
but I haven't found a way to force it to stop and then restart it.
Asked by Grant Curell
(769 rep)
Aug 11, 2023, 07:24 PM
Last activity: Apr 9, 2025, 08:00 PM
Last activity: Apr 9, 2025, 08:00 PM