Docker and CI/CD · Senior · Question 65 of 75
What does start_period in a Docker healthcheck do?
- 1Delays the container start until the healthcheck passes
- ✓Correct answer: Ignores failures while the app boots, unless it passes first
- 3Sets how often the check runs once the app is healthy
Explanation
Slow-starting apps would otherwise be marked unhealthy before they're ready. A success during the period ends it early.