Replies: 1 comment 1 reply
-
|
I mean the simple answer is just do not enable |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a system which uses scripts to create pods for the services I need to have running. I'm using
podman kube playfor that.Unfortunately, on reboot, the containers I had running prior to reboot are restarted via
thepodman.servicedaemonpodman-restart.service. I do not want to disable the restart policy on the containers because I need them to restart of something goes wrong during the container lifecycle, but on reboot the scripts I have are starting new containers anyway. I also need to use my script and cannot use the restart policy because there is a configuration to install alongside the containers I run (to enable the load balancer to reach the containers)How to prevent the restart policy to restart containers on reboot ?
podman.servicestartedpodman system servicecould be configured to prevent restarting containersedit: I found a relevant issue that turns around the same issue: #23207
Is there a solution for that?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions