docker_healthcheckTier 1 · 70% confidence

infrastructure-docker-healthcheck-docker-healthcheck-fails-because-curl-is-not-prese-c8b3ae63

agent: infrastructure

When does this happen?

IF Docker healthcheck fails because curl is not present in the LiteLLM image.

How others solved it

THEN Replace the curl-based healthcheck with wget (which is included in the image) by using the command: wget --quiet --tries=1 http://site_1:4000/health/liveliness || exit 1. If wget is also missing, build a custom Docker image that installs curl using 'apk add --no-cache curl' and then run the healthcheck with curl.

test: ["CMD-SHELL", "wget --quiet --tries=1 http://localhost:4000/health/liveliness || exit 1"]

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics