mirror of https://github.com/docker/cli.git
Merge pull request #4713 from thaJeztah/health_table
docs: run-reference: use table for health options
This commit is contained in:
commit
2b63b4f8d1
|
@ -1144,15 +1144,15 @@ windir=C:\Windows
|
||||||
The following flags for the `docker run` command let you control the parameters
|
The following flags for the `docker run` command let you control the parameters
|
||||||
for container healthchecks:
|
for container healthchecks:
|
||||||
|
|
||||||
```text
|
| Option | Description |
|
||||||
--health-cmd Command to run to check health
|
|:---------------------------|:---------------------------------------------------------------------------------------|
|
||||||
--health-interval Time between running the check
|
| `--health-cmd` | Command to run to check health |
|
||||||
--health-retries Consecutive failures needed to report unhealthy
|
| `--health-interval` | Time between running the check |
|
||||||
--health-timeout Maximum time to allow one check to run
|
| `--health-retries` | Consecutive failures needed to report unhealthy |
|
||||||
--health-start-period Start period for the container to initialize before starting health-retries countdown
|
| `--health-timeout` | Maximum time to allow one check to run |
|
||||||
--health-start-interval Time between running the check during the start period
|
| `--health-start-period` | Start period for the container to initialize before starting health-retries countdown |
|
||||||
--no-healthcheck Disable any container-specified HEALTHCHECK
|
| `--health-start-interval` | Time between running the check during the start period |
|
||||||
```
|
| `--no-healthcheck` | Disable any container-specified `HEALTHCHECK` |
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue