I'm really new to Docker and wanted to setup a Wildfly-Container (v26) and deploying a .war-File to it. The problem I've encountered is, that Wildfly is using JDK11 as base image.
My program was written in JDK17. I've found this to change the JDK and the wildfly is running, but I have no idea if it worked. Is there any command or way to read out the used java version the docker image of wildfly is now using?
Sure I could 'just deploy' the war, but I have no access to the admin console. It looks like there is another problem I have to fix before.