Files
podman/docs/podman-healthcheck-run.1.md
baude 598bde52d0 podman healthcheck run (phase 1)
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>
2019-03-05 14:03:55 -06:00

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