From ca9ff8dafc34f24238ccf0bdb156a79a4fba848c Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 13 Dec 2023 15:58:25 +0100 Subject: [PATCH] docs: run-reference: use table for health options Signed-off-by: Sebastiaan van Stijn --- docs/reference/run.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/reference/run.md b/docs/reference/run.md index 1dfb55936b..7a16e8f267 100644 --- a/docs/reference/run.md +++ b/docs/reference/run.md @@ -1144,15 +1144,15 @@ windir=C:\Windows The following flags for the `docker run` command let you control the parameters for container healthchecks: -```text ---health-cmd Command to run to check health ---health-interval Time between running the check ---health-retries Consecutive failures needed to report unhealthy ---health-timeout Maximum time to allow one check to run ---health-start-period Start period for the container to initialize before starting health-retries countdown ---health-start-interval Time between running the check during the start period ---no-healthcheck Disable any container-specified HEALTHCHECK -``` +| Option | Description | +|:---------------------------|:---------------------------------------------------------------------------------------| +| `--health-cmd` | Command to run to check health | +| `--health-interval` | Time between running the check | +| `--health-retries` | Consecutive failures needed to report unhealthy | +| `--health-timeout` | Maximum time to allow one check to run | +| `--health-start-period` | Start period for the container to initialize before starting health-retries countdown | +| `--health-start-interval` | Time between running the check during the start period | +| `--no-healthcheck` | Disable any container-specified `HEALTHCHECK` | Example: