summaryrefslogtreecommitdiff
path: root/cmd/podman/common.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-07-16 21:23:52 +0200
committerGitHub <noreply@github.com>2019-07-16 21:23:52 +0200
commit400851ac31a57f43916c4a1b653a33737f1e7e3b (patch)
tree718f6e8f2b6a8c517e201cb784d09a3c156ccb81 /cmd/podman/common.go
parenta449e9a2cf4b73163df75674059de04488cd2706 (diff)
parent47c1fe6a5cacb50e7e0db31044a9924dabca7de9 (diff)
downloadpodman-400851ac31a57f43916c4a1b653a33737f1e7e3b.tar.gz
podman-400851ac31a57f43916c4a1b653a33737f1e7e3b.tar.bz2
podman-400851ac31a57f43916c4a1b653a33737f1e7e3b.zip
Merge pull request #3508 from csomh/healthcheck-flag-compat
Make the healthcheck flags compatible with Docker CLI
Diffstat (limited to 'cmd/podman/common.go')
-rw-r--r--cmd/podman/common.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go
index 96a1c2244..15f753d55 100644
--- a/cmd/podman/common.go
+++ b/cmd/podman/common.go
@@ -244,23 +244,23 @@ func getCreateFlags(c *cliconfig.PodmanCommand) {
"help", false, "",
)
createFlags.String(
- "healthcheck-command", "",
+ "health-cmd", "",
"set a healthcheck command for the container ('none' disables the existing healthcheck)",
)
createFlags.String(
- "healthcheck-interval", cliconfig.DefaultHealthCheckInterval,
+ "health-interval", cliconfig.DefaultHealthCheckInterval,
"set an interval for the healthchecks (a value of disable results in no automatic timer setup)",
)
createFlags.Uint(
- "healthcheck-retries", cliconfig.DefaultHealthCheckRetries,
+ "health-retries", cliconfig.DefaultHealthCheckRetries,
"the number of retries allowed before a healthcheck is considered to be unhealthy",
)
createFlags.String(
- "healthcheck-start-period", cliconfig.DefaultHealthCheckStartPeriod,
+ "health-start-period", cliconfig.DefaultHealthCheckStartPeriod,
"the initialization time needed for a container to bootstrap",
)
createFlags.String(
- "healthcheck-timeout", cliconfig.DefaultHealthCheckTimeout,
+ "health-timeout", cliconfig.DefaultHealthCheckTimeout,
"the maximum time allowed to complete the healthcheck before an interval is considered failed",
)
createFlags.StringP(