podman-healthcheck-run1
Run a container healthcheck
Usage
podman healthcheck
run
[options]
container
Overview
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
Releases
4 releases since Debian 11 (Bullseye); the text changed 3 times.