diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-12 13:09:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-12 13:09:13 -0700 |
commit | 883566fbc068cb9c24414b210d01340193575317 (patch) | |
tree | 2ae01aa39a9298b4b69ae4e15906d6f8b3c098bd /docs | |
parent | 1c45b42e9ff972d9645735118635e4186e6411f8 (diff) | |
parent | 03716cf7f331fa5b5ffab23dcc863bedd66b5dfc (diff) | |
download | podman-883566fbc068cb9c24414b210d01340193575317.tar.gz podman-883566fbc068cb9c24414b210d01340193575317.tar.bz2 podman-883566fbc068cb9c24414b210d01340193575317.zip |
Merge pull request #2562 from baude/healtcheckphase2
healthcheck phase 2
Diffstat (limited to 'docs')
-rw-r--r-- | docs/podman-create.1.md | 17 | ||||
-rw-r--r-- | docs/podman-run.1.md | 17 |
2 files changed, 34 insertions, 0 deletions
diff --git a/docs/podman-create.1.md b/docs/podman-create.1.md index 4de79b07e..b4f097348 100644 --- a/docs/podman-create.1.md +++ b/docs/podman-create.1.md @@ -256,6 +256,23 @@ The following example maps uids 0-2000 in the container to the uids 30000-31999 Add additional groups to run as +**--healthchech**="" + +Set or alter a healthcheck for a container. The value must be of the format of: + + `[OPTIONS] CMD command` + + where options can be any of the follow: + * --interval=DURATION (default: 30s) + * --timeout=DURATION (default: 30s) + * --start-period=DURATION (default: 0s) + * --retries=N (default: 3) + +Note: options are *not* required. + +The command is a command to be executed inside your container that determines your container health. The +command is required. + **--hostname**="" Container host name diff --git a/docs/podman-run.1.md b/docs/podman-run.1.md index b5fa0ed4c..1eb866773 100644 --- a/docs/podman-run.1.md +++ b/docs/podman-run.1.md @@ -264,6 +264,23 @@ The example maps gids 0-2000 in the container to the gids 30000-31999 on the hos Add additional groups to run as +**--healthchech**="" + +Set or alter a healthcheck for a container. The value must be of the format of: + + `[OPTIONS] CMD command` + + where options can be any of the follow: + * --interval=DURATION (default: 30s) + * --timeout=DURATION (default: 30s) + * --start-period=DURATION (default: 0s) + * --retries=N (default: 3) + +Note: options are *not* required. + +The command is a command to be executed inside your container that determines your container health. The +command is required. + **--hostname**="" Container host name |