It is not very clear which version of Keycloak is actually in each docker image that is packaged on docker hub. It would be nice to know exactly which version of keycloak is in use based tags or image name.
I found it finally by going to
https://github.com/jboss-dockerfiles/keycloak/blob/master/server/Dockerfile
See Microsofts naming convention.
https://hub.docker.com/r/microsoft/dotnet