-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #89 Warn if --retries of HEALTHCHECK is not positive
The retries flag of a HEALTHCHECK specifies the number of times that the HEALTHCHECK CMD should be run before the container is considered to be `unhealthy`. As such, the retries flag should be a positive integer as negative values or "zero retries" don't make any sense. A diagnostic will now be created to handle this error in Dockerfiles. Signed-off-by: Remy Suen <[email protected]>
- Loading branch information
Showing
3 changed files
with
44 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters