Keycloak Community Container Images: Finally, Images for All Bugfix Releases

December 4, 2026

Tags: #keycloak #cloud #security

Keycloak gets bugfix releases regularly, also for older release lines that are still maintained. But the Keycloak project doesn’t publish a container image for them. Until now.

In this article, I introduce the Keycloak Community Container Images: container images for Keycloak that close exactly this gap. Built automatically, from the same sources as the official images, and always as up to date as possible.

The problem: bugfixes without images

The Keycloak project publishes container images on quay.io/keycloak/keycloak, but only for the current releases. As soon as a new minor version is out, there are no new images for the previous line anymore.

At the same time, important fixes, especially security fixes, are backported to older release lines. In the Keycloak repository on GitHub, they land on the release/X.Y branches, e.g. release/26.4 or release/26.6, and get a regular version tag there, e.g. 26.4.18 or 26.6.9.

But: for these tags, there is neither a container image nor a GitHub release with a ready-to-download distribution. The code is there, the release isn’t.

For everyone running Keycloak in production, this is a real dilemma. Not every company can (or wants to) follow every minor update right away. Upgrades need to be planned, tested and approved, and extensions and themes may need to be adapted. Of course, nobody wants to miss out on the bugfixes of their own release line either. So far, the only option was: build it yourself, with your own build pipeline, your own image and everything that comes with it.

This is exactly what many people in the Keycloak community and a large number of companies using Keycloak have been waiting for: ready-made images, also for these versions.

The solution: Keycloak Community Container Images

They’re available now: at ghcr.io/dasniko/keycloak you find container images for the releases of all currently maintained Keycloak release lines, including all backported bugfix releases. Currently, these are the lines 26.4, 26.6 and 26.8.

docker run -p 8080:8080 \
  -e KC_BOOTSTRAP_ADMIN_USERNAME=admin \
  -e KC_BOOTSTRAP_ADMIN_PASSWORD=admin \
  ghcr.io/dasniko/keycloak:26.4 start-dev

The images are available for linux/amd64 and linux/arm64, so also for Apple Silicon machines and ARM-based servers.

The same ingredients as the original

Most importantly: these are not “rebuilt” or modified Keycloak images. They are based on exactly the same resources that are used for the original images:

Before an image is published, a short smoke test also verifies that the image really contains the expected Keycloak version.

In short: if you’ve used the official image so far, you can switch to the community image of your release line without anything changing in how the image is built.

Fully automated and always up to date

An image is only as good as it is current. That’s why everything runs fully automated with GitHub Actions, in two cases:

  1. New Keycloak version: As soon as a new version tag appears on a maintained release/X.Y branch, a new image is built and published automatically. So you don’t have to wait until someone has time to start the build.
  2. Updated base images: Red Hat updates the UBI images regularly, e.g. with security fixes for operating system packages. When the base images change, the newest patch version of each release line is rebuilt automatically.

The second point in particular matters: a Keycloak image that was built once and then stays unchanged for months accumulates known vulnerabilities in its base packages over time. This way, the images stay current not only with Keycloak, but also with the base underneath.

Which tag should I use?

Just like the original images on quay.io, every build gets a sequential build number. This results in the following tag scheme:

Tag Points to
X.Y.Z-N exactly this one build of this Keycloak version, e.g. 26.4.18-0. Never changes.
X.Y.Z the newest build of this Keycloak version, e.g. 26.4.18
X.Y the newest build of the newest patch version of this release line, e.g. 26.4
latest the newest build of the newest Keycloak version overall

My advice: if you always want the latest fixes of your release line, use X.Y, e.g. 26.4. If you need reproducible deployments, pin to X.Y.Z-N or directly to the image digest.

Which builds exist, which tag currently points to which build, and which digests belong to them, you can see at any time in the overview at dasniko.github.io/keycloak-image. This page is also updated automatically after every build.

Side note

These are not official Keycloak images, and there is no support and no warranty for them. Use them at your own risk. But everything is completely open and transparent: the entire build process is available under the Apache 2.0 license on GitHub at github.com/dasniko/keycloak-image. Feel free to take a look, and if you notice anything, I’m happy about issues and pull requests.

Conclusion

The key points in a nutshell:

Try it out, and keep your Keycloak installations up to date, even if you can’t (yet) move to the newest minor version!

Need Keycloak Consulting, Workshop or Support?

Get in touch!

Related posts

All blog posts chronological »