mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +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>
14 lines
647 B
Markdown
14 lines
647 B
Markdown
####> 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.
|