Difference between revisions of "HEALTHCHECK"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
https://docs.docker.com/engine/reference/builder/#healthcheck  [[Docker 1.12]]
 
https://docs.docker.com/engine/reference/builder/#healthcheck  [[Docker 1.12]]
  
 +
 +
[[docker-compose.yml]] official example:
 +
healthcheck:
 +
  test: ["CMD", "curl", "-f", "http://localhost"]
 +
  interval: 1m30s
 +
  timeout: 10s
 +
  retries: 3
 +
  start_period: 40s
  
 
== Related terms ==
 
== Related terms ==

Revision as of 10:30, 22 February 2023

Advertising: