Sign inSign up

stratice/tomcat7-oracle

By stratice

•Updated over 8 years ago

Image
1

2.4K

stratice/tomcat7-oracle repository overview

⁠stratice/tomcat7-oracle

docker image for tomcat7 with Oracle JRE based off of debian/stretch

To pull this image: docker pull stratice/tomcat7-oracle

Example usage: docker run -i -t -d -p 8080 stratice/tomcat7-oracle

To deploy a specific .war file to ROOT, see the commented out section of the Dockerfile.

The following environment variables can be passed to the docker image:

ADMIN_USER (default: admin)

ADMIN_PASS (default: tomcat)

MAX_UPLOAD_SIZE (default: 52428800)

CATALINA_OPTS (default: "-Xms128m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m")

If you would like to start tomcat without any applications deployed and have a local volume mounted to be be able to deploy a .war file by dropping it in, here is an example of that process:

mkdir -p /data/tomcat_webapps
docker run -i -t -p 8080 -v /data/tomcat_webapps:/opt/tomcat/webapps stratice/tomcat7-oracle
cp helloworld.war /data/tomcat_webapps/ROOT.war

Tag summary

Content type

Image

Digest

sha256:74210f883…

Size

129.6 MB

Last updated

over 8 years ago

docker pull stratice/tomcat7-oracle