Add --no-healthcheck command to create/run

Now support --no-healthcheck option to disable defined healthchecks in a container image.  --health-cmd=none remains supported as well.

Fixes: #5299

Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
Brent Baude
2020-02-22 10:19:11 -06:00
parent 2850ec5f50
commit 0184714a82
7 changed files with 42 additions and 2 deletions

View File

@@ -1888,6 +1888,11 @@ _podman_container_run() {
--expose
--gidmap
--group-add
--health-cmd
--health-interval
--health-retries
--health-start-period
--health-timeout
--hostname -h
--http-proxy
--image-volume
@@ -1906,6 +1911,7 @@ _podman_container_run() {
--memory-reservation
--name
--network
--no-healthcheck
--no-hosts
--oom-score-adj
--pid