mirror of
https://github.com/containers/podman.git
synced 2025-08-03 01:37:51 +08:00

Add the ability to manually run a container's healthcheck command. This is only the first phase of implementing the healthcheck. Subsequent pull requests will deal with the exposing the results and history of healthchecks as well as the scheduling. Signed-off-by: baude <bbaude@redhat.com>
764 B
764 B
% 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
EXAMPLES
$ podman healtcheck run mywebapp
SEE ALSO
podman-healthcheck(1)
HISTORY
Feb 2019, Originally compiled by Brent Baude bbaude@redhat.com