The Vespa Docker image is moving to AlmaLinux 9
Photo by Rinson Chory on Unsplash (Unsplash License)
In summary
Vespa 8.797 is the last release where :latest and :8 use AlmaLinux 8. Every later release uses AlmaLinux 9. Starting with the first Vespa release of 2027, we’ll stop publishing new AlmaLinux 8 images.
The bundled JDK will move from 17 to 21. For most operators, this is the main change to test before upgrading.
Why we’re updating the image
We’re making AlmaLinux 9 the default now to bring Docker Hub users onto JDK 21, the runtime we already use in Vespa Cloud. Today we build, test, and publish both AlmaLinux 8 and AlmaLinux 9 images for each Vespa release. When we retire the AlmaLinux 8 images, we’ll have one set of images to patch, test, and ship.
Vespa Cloud already runs AlmaLinux 9
If you run on Vespa Cloud, this upgrade is already behind you. We began rolling out AlmaLinux 9 in May 2026 and expanded the rollout to all tenants in June. Our team handled the image change across production clusters, so customers could keep working on their applications without having to pick a Docker tag or coordinate the rollout themselves.
The same team that builds Vespa can handle platform upgrades for your application, too. If you run Vespa yourself today, our Vespa Cloud migration guide shows how to make the move.
What changes on Docker Hub
Starting with the first release after 8.797, version tags without an OS suffix in vespaengine/vespa will use AlmaLinux 9. The :8 tag tracks the Vespa major version, so it will continue to follow Vespa 8 releases as the base OS changes.
Test JDK 21 with Vespa 8.796.11
Both images below contain Vespa 8.796.11. Run the same tests in staging against the AlmaLinux 8 image with JDK 17 and the AlmaLinux 9 image with JDK 21. If you use custom JVM options, check that Vespa starts with those options on JDK 21. If your application includes custom Java components, exercise them in your application tests.
If you build your own image on top of ours, or your components load native libraries, rebuild and test them: the system libraries change too (glibc 2.28 → 2.34, OpenSSL 1.1 → 3).
docker pull docker.io/vespaengine/vespa:8.796.11-alma8
docker pull docker.io/vespaengine/vespa:8.796.11-alma9
<version>-alma9 tags continue to be published after the switch.
If you use :latest or :8 in production
- If you’re ready to migrate, test
:8.796.11-alma9in staging while 8.797 is the latest release. You can keep your production tag. Once a release after 8.797 is available, your next pull of:latestor:8will fetch the AlmaLinux 9 image. Running containers keep their current image until you deploy the new one. - If you need more time, pin your production deployment to
:8.796.11-alma8while 8.797 is the latest release. This also pins Vespa at 8.796.11, so you’ll miss fixes in later releases until you update the tag. We publish a<version>-alma8tag for every release through December 2026, so you can keep upgrading Vespa on AlmaLinux 8 until then. For each upgrade, select the AlmaLinux 8 tag for that Vespa version.
Starting with the first Vespa release of 2027, we’ll stop publishing AlmaLinux 8 images. Existing tags will remain available to pull, but those images won’t receive further fixes from Vespa.
Talk to the Vespa team about your upgrade. We’d like to hear how AlmaLinux 9 and JDK 21 work with your application. Send us your questions, tell us what you found in staging, or let us know what you need before moving to production.
RPM packages for AlmaLinux 8 and 9
If you install Vespa directly on AlmaLinux 9, EL9 RPMs are available from our public package repository.
If you use EL8 RPMs, the Docker image change does not affect your packages. We haven’t set an end date for publishing EL8 RPMs. See the AlmaLinux 8 installation instructions.