NAME¶ 名称
podman-healthcheck-run - Run a container healthcheck
podman-healthcheck-run - 运行容器健康检查
SYNOPSIS¶ 概要
podman healthcheck run container
podman 健康检查运行容器
DESCRIPTION¶ 描述
Runs the healthcheck command defined in a running container manually. The resulting error codes are defined
as follows:
手动运行正在运行容器中定义的健康检查命令。生成的错误代码定义如下:
0 = healthcheck command succeeded
0 = 健康检查命令成功1 = healthcheck command failed
1 = 健康检查命令失败125 = an error has occurred
125 = 发生了错误
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¶ 示例
Run healthchecks in specified container:
在指定的容器中运行健康检查:
$ podman healthcheck run mywebapp
SEE ALSO¶ 参见 ¶
HISTORY¶ 历史 ¶
Feb 2019, Originally compiled by Brent Baude bbaude@redhat.com
2019 年 2 月,最初由 Brent Baude bbaude@redhat.com 编写