Question : Is there a Keycloak Docker Container for linux/arm64 arch?

Hi everyone, I got a Macbook Pro with the new M1 chip, and I wonder if there is a Keycloak Docker Container for linux/arm64 instead of linux/amd64 ?

If not, does someone had the problem and found a solution ? I try many things but nothing worked.

I already asked about a solution on the docker slack, but they answer me to ask for a linux/arm64 container.

Thanks for you answers

Official Keycloak images are build based on red hat intermediate images. Apparently they have a arm64 base image, but I didn’t find how to get it: Red Hat Ecosystem Catalog

I would suggest you to build your own. You can use GitHub - keycloak/keycloak-containers: Docker image for Keycloak project as reference and use an openjdk official image.

Thanks for your answer, I will check that.

1 Like

Did you manage to make an arm/64 image?

Unfortunately, no I couldn’t spend lot of time to try.

I have created linux/arm64 image using keycloak Dockerfile on pi4. You can try this on M1 chip as well.

docker run -p 8080:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin koolwithk/keycloak-arm:16.0.0

https://hub.docker.com/r/koolwithk/keycloak-arm