Skip to content

Commit

Permalink
docs: add a note that healthcheck --start-interval requires docker 25.0
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan A. Sternberg <[email protected]>
  • Loading branch information
jsternberg committed Nov 6, 2023
1 parent a75635e commit d064704
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/dockerfile/docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2316,6 +2316,7 @@ However, if a health check succeeds during the start period, the container is co
started and all consecutive failures will be counted towards the maximum number of retries.

**start interval** is the time between health checks during the start period.
This option requires Docker Engine version 25.0 or later.

There can only be one `HEALTHCHECK` instruction in a Dockerfile. If you list
more than one then only the last `HEALTHCHECK` will take effect.
Expand Down

0 comments on commit d064704

Please sign in to comment.