Sign inSign up

wroquem/tomcat

By wroquem

•Updated almost 9 years ago

Dockerfile Tomcat 7.0, 8.0, 8.5 for open-jdk:1.7, 1.8, oracle-jdk:1.7, 1.8, based of Official Centos

Image
0

1.7K

wroquem/tomcat repository overview

⁠Tomcat

Image based of the Official Centos Repository⁠ (centos:centos7)⁠

⁠How to use this Image

⁠Download the Image with tag 8.5-open-jdk1.8⁠ and 8.5-oracle-jdk1.8⁠

docker pull wroquem/tomcat:8.5-open-jdk1.8

docker pull wroquem/tomcat:8.5-oracle-jdk1.8

⁠Run the container

docker run -d -p 8180:8080 -it --name my-tomcat8.5-open-jdk1.8 wroquem/tomcat:8.5-open-jdk1.8

docker run -d -p 8280:8080 -it --name my-tomcat8.5-oracle-jdk1.8 wroquem/tomcat:8.5-oracle-jdk1.8

⁠Review the container

docker exec -it my-tomcat8.5-open-jdk1.8 bash

docker exec -it my-tomcat8.5-oracle-jdk1.8 bash

⁠The default environment in the image for all tags is :

CATALINA_BASE: /opt/tomcat
CATALINA_HOME: /opt/tomcat
JAVA_HOME: /usr/lib/jvm/$JAVA_VERSION
JRE_HOME: /usr/lib/jvm/$JAVA_VERSION/bin

⁠Tomcat Deploy folder of the image for all tags is :

DEPLOY_FOLDER: /opt/tomcat/webapps

Tag summary

Content type

Image

Digest

Size

300.7 MB

Last updated

almost 9 years ago

docker pull wroquem/tomcat