TECHNOLOGY

Why should the Open WebUI Ollama image fail during build when Ollama is missing?

In this article
THE QUICK TAKE

Test a failed download at build time, then exercise the bundled inference process and a real request in the successful image.

Open WebUI 0.13.3 changes its Ollama-inclusive image build so it fails when Ollama did not install. The earlier failure mode could produce an image that could not start the bundled inference process. This is a packaging contract with two checks: the image must contain its advertised dependency and must run a model after startup.

Choose the correct image flavor

Only the image that advertises bundled Ollama should require its executable. A UI-only image may intentionally connect to a remote service. Record the tag and digest of the image variant under test and verify the chosen architecture. Avoid borrowing a check from a different image that is assembled with different components.

Make a failed install visible

In an isolated build, use a harmless fixture that makes the dependency download unavailable. Verify that the build returns a failure and does not leave a promotable image under the release tag. If caches are involved, test on a clean worker so a previous installation cannot make the negative case pass.

Prove the runtime path independently

Start the successfully built image with the intended container permissions. Check that the expected Ollama process starts and handles a request for a small known model. Identify the endpoint used by the UI. A process can otherwise look healthy because the UI reached an unrelated remote inference backend.

Keep installation and readiness distinct

An executable being present does not demonstrate GPU compatibility or model readiness. Record the device and runtime selected by the test, then keep GPU qualification separate. Store the build failure evidence and the successful runtime smoke result with the same deployment record. This helps diagnose the next build or startup failure.

Primary sources

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles