mirror of
https://github.com/containers/podman.git
synced 2026-03-13 08:01:19 +08:00
This is useful for triggering the execution of a healthcheck without caring about it's result as long as no fatal error occured. Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com>
1.1 KiB
1.1 KiB
% podman-healthcheck-run 1
NAME
podman-healthcheck-run - Run a container healthcheck
SYNOPSIS
podman healthcheck run [options] container
DESCRIPTION
Runs the healthcheck command defined in a running container manually. The resulting error codes are defined as follows:
- 0 = healthcheck command succeeded
- 1 = healthcheck command failed
- 125 = an error has occurred
Possible errors that can occur during the healthcheck are:
- unable to find the container
- container has no defined healthcheck
- container is not running
OPTIONS
--help
Print usage statement
--ignore-result
Exit with code 0 regardless of the healthcheck result and if the container is still in the startup period. Other errors will not be ignored.
EXAMPLES
Run healthchecks in specified container:
$ podman healthcheck run mywebapp
SEE ALSO
podman(1), podman-healthcheck(1), podman-run(1), podman-create(1), podman-inspect(1)
HISTORY
Feb 2019, Originally compiled by Brent Baude bbaude@redhat.com