Back

Fix Docker HEALTHCHECK Failing Due to Incorrect Exit Code

Problem

Your HEALTHCHECK always reports unhealthy because curl returns the wrong exit code or endpoint is wrong.

Code Editor