Skip to content

Docker

Docker HEALTHCHECK Generator

HTTP endpoint, TCP port, or a custom command - get a valid Dockerfile HEALTHCHECK instruction with sensible interval/timeout/retries.

Check type

HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
  CMD curl -f http://localhost:3000/health || exit 1