Skip to content

Commit ca9ff8d

Browse files
committed
docs: run-reference: use table for health options
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 8f90d98 commit ca9ff8d

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

docs/reference/run.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,15 +1144,15 @@ windir=C:\Windows
11441144
The following flags for the `docker run` command let you control the parameters
11451145
for container healthchecks:
11461146

1147-
```text
1148-
--health-cmd Command to run to check health
1149-
--health-interval Time between running the check
1150-
--health-retries Consecutive failures needed to report unhealthy
1151-
--health-timeout Maximum time to allow one check to run
1152-
--health-start-period Start period for the container to initialize before starting health-retries countdown
1153-
--health-start-interval Time between running the check during the start period
1154-
--no-healthcheck Disable any container-specified HEALTHCHECK
1155-
```
1147+
| Option | Description |
1148+
|:---------------------------|:---------------------------------------------------------------------------------------|
1149+
| `--health-cmd` | Command to run to check health |
1150+
| `--health-interval` | Time between running the check |
1151+
| `--health-retries` | Consecutive failures needed to report unhealthy |
1152+
| `--health-timeout` | Maximum time to allow one check to run |
1153+
| `--health-start-period` | Start period for the container to initialize before starting health-retries countdown |
1154+
| `--health-start-interval` | Time between running the check during the start period |
1155+
| `--no-healthcheck` | Disable any container-specified `HEALTHCHECK` |
11561156

11571157
Example:
11581158

0 commit comments

Comments
 (0)