mirror of
https://github.com/containers/podman.git
synced 2025-05-17 15:18:43 +08:00

Previously, the HealthCheck exec session would not terminate on timeout, allowing the healthcheck to run indefinitely. Fixes: https://issues.redhat.com/browse/RHEL-86096 Signed-off-by: Jan Rodák <hony.com@seznam.cz>
647 B
647 B
####> This option file is used in: ####> podman create, run, update ####> If file is edited, make sure the changes ####> are applicable to all of those.
--health-timeout=timeout
The maximum time allowed to complete the healthcheck before an interval is considered failed. Like start-period, the value can be expressed in a time format such as 1m22s. The default value is 30s.
Note: A timeout marks the healthcheck as failed. If the healthcheck command itself runs longer than the specified timeout,
it will be sent a SIGKILL
signal.
Note: This parameter will overwrite related healthcheck configuration from the image.