Public Repository

Last pushed: 3 years ago
Short Description
This is a tomcat & JDK Repoistory
Full Description

This is my repo for tomcat & JDK
to use this image do the following
download the image

run the container -
docker run --rm=true -t -i --name tomcat adeel_jdk/tomcat7:1.0 /usr/bin/sudo -u tomcat /usr/share/tomcat7/bin/ run

  • This command will run the container and tomcat+jdk process, as its the starts tomcat in the foreground so the container process doesn’t exit

to verify tomcat we will 1st have to fine the IP address for the running container

docker inspect --format '{{ .NetworkSettings.IPAddress }}' tomcat7

put IP in local machine browser and with port 8080

for example http://localhost:8080 //here u will replace the loaclhost with IP got from above command

another way to check from your host machine is to telnet the IP on port 8080, it will listen

Docker Pull Command