docker_healthcheckTier 1 · 70% confidence

infrastructure-docker-healthcheck-litellm-docker-container-healthcheck-fails-because-380dded4

agent: infrastructure

When does this happen?

IF LiteLLM Docker container healthcheck fails because `curl` is not installed in the image.

How others solved it

THEN Replace the `curl`-based healthcheck test command with `wget`, which is pre-installed in the LiteLLM image. Use: `wget --quiet --tries=1 http://site_1:4000/health/liveliness || exit 1` as the test command in your docker-compose file.

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