This is another repo for Tomcat & JDK version 7 with better position than my previous
Just Download it from pull command
Run the container
docker run -pit 8082:8080 adeel7454/tomcat7_jdk7:latest /bin/bash
u can use any other port to map instead of 8082, by running this command you will be able to run and enter in the container.
now press Ctrl+p, Ctrl+q key to exit from the container without stopping it.
now you can check it by different ways.
if you are in the container the run wget:localhost:8082 // here you can use the IP of the container as well and the port will be the same which you have set