summaryrefslogtreecommitdiff
path: root/cmd/podman/common.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-02-23 12:21:55 -0500
committerGitHub <noreply@github.com>2020-02-23 12:21:55 -0500
commiteef9875a6133d4cbf4e6f63771dd86045f071f7d (patch)
tree46c50c1a5b85e6f558bdd82f13b934ed802bfb60 /cmd/podman/common.go
parent9fd01e19458bd8c8281663bdb504f02aa3a92e3b (diff)
parent0184714a82696feec33b383bfd98875712173e6e (diff)
downloadpodman-eef9875a6133d4cbf4e6f63771dd86045f071f7d.tar.gz
podman-eef9875a6133d4cbf4e6f63771dd86045f071f7d.tar.bz2
podman-eef9875a6133d4cbf4e6f63771dd86045f071f7d.zip
Merge pull request #5300 from baude/disablehealth
Add --no-healthcheck command to create/run
Diffstat (limited to 'cmd/podman/common.go')
-rw-r--r--cmd/podman/common.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go
index 6fa2b3c71..4eeb09d42 100644
--- a/cmd/podman/common.go
+++ b/cmd/podman/common.go
@@ -396,6 +396,10 @@ func getCreateFlags(c *cliconfig.PodmanCommand) {
"Assign a name to the container",
)
createFlags.Bool(
+ "no-healthcheck", false,
+ "Disable healthchecks on container",
+ )
+ createFlags.Bool(
"oom-kill-disable", false,
"Disable OOM Killer",
)