github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/health-on-failure.md (about) 1 ####> This option file is used in: 2 ####> podman create, run 3 ####> If file is edited, make sure the changes 4 ####> are applicable to all of those. 5 #### **--health-on-failure**=*action* 6 7 Action to take once the container transitions to an unhealthy state. The default is **none**. 8 9 - **none**: Take no action. 10 - **kill**: Kill the container. 11 - **restart**: Restart the container. Do not combine the `restart` action with the `--restart` flag. When running inside of a systemd unit, consider using the `kill` or `stop` action instead to make use of systemd's restart policy. 12 - **stop**: Stop the container.