On 12/2/21 11:09, Christopher.Miller@gd-ms.com wrote:
Dumb question. I looked thru the mail archive and couldn’t find what I was looking for.
With Docker, if you inspect the container, you can see a RestartPolicy. Lets you know if the container will restart if the server reboots.
We have a container run Podman (version 1.4.2-stable2, yes its older, however its what I have to work with for now), is there a way to tell if restart has been set for a container?
Thanks
_______________________________________________ Podman mailing list --podman@lists.podman.io To unsubscribe send an email topodman-leave@lists.podman.io
Best you can do with that old of Podman is to put the container start and stop into a systemd unit file. Podman 3.4 has much better support for this kind of thing.