Which version of tomcat image do i need for the jdk version of 21
Have you checked the Docker Hub Tomcat page (link)? It seems they have the JDK version in the tags.
I see different versions of it
Some of them are temurin noble,jammy etc
Which to choose from
Use Temurin Jammy as it will probably be supported longer.