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