docker_healthcheckTier 1 · 70% confidence

infrastructure-docker-healthcheck-docker-healthcheck-fails-because-curl-is-not-prese-5fed8b15

agent: infrastructure

When does this happen?

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

How others solved it

THEN Replace the 'curl' command in the healthcheck test with 'wget --quiet --tries=1', which is included in the image. Alternatively, build a custom image that installs curl via 'apk add --no-cache 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