u/TrashRule

▲ 4 r/podman+1 crossposts

unless-stopped policy on CoreOS

Hello,

I am trying for weeks now to find a way to get the unless-stopped policy to work on Fedora CoreOS. The podman-restart.service only manages the always policy.

Quadlets are not an option as all my containers are created from compose files.

I am failing at making a script that would save a list of running containers at shutdown/restart and starting them at next boot.

I am now looking for help about this topic, I am wondering what solutions you would have to have a working unless-stopped policy on CoreOS.

Is there scripts that are proven to work, or tools to install that could do the trick?

Thanks in advance for your ressources, have a nice day!

reddit.com
u/TrashRule — 9 days ago