Skip to content

Commit

Permalink
Merge pull request #4382 from jsternberg/healthcheck-start-interval-note
Browse files Browse the repository at this point in the history
docs: add a note that healthcheck --start-interval requires docker 25.0
  • Loading branch information
tonistiigi authored Nov 7, 2023
2 parents 6a0cd7c + d064704 commit 25e9aa8
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 @@ -2356,6 +2356,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 25e9aa8

Please sign in to comment.