Keep stopped containers that were made with quadlets listed in the Podman GUI #21222
|
I have started using Podman quadlets to create my Podman containers instead of Podman Compose. It works well, but I when I use the Podman Container GUI of Cockpit to stop them, they are destroyed and removed from the list. Is there a way to prevent this from happening? One way I know of is setting [Service] Restart=always in the quadlet container file. But I don't like that behaviour because I want a stopped container to be stopped, not immediately recreated and started. |
Replies: 1 comment 3 replies
|
If I recall correctly this is the way quadlets behave. So when you |
If I recall correctly this is the way quadlets behave. So when you
podman stop ...a quadlet container it is completely brought down and destroyed. You can check if podman can still see the container withpodman ps -aafter you stop it and if it can't then there's not much we can do about it in cockpit.