Public Repository

Last pushed: 2 years ago
Short Description
Apache Tomcat is an open source implementation of the Java Servlet and JavaServer Pages technologies
Full Description

How is this different from the official repo?

The official Apache Tomcat repo does not support TLS out of the box. I made a customized Dockerfile that contains a self-signed certificate and enables the SSL connector in server.xml.

This images exposes port 8080 and 8443 with a self-signed certificate.

Only use this image in a development environment.


  • JRE 8
  • Apache Tomcat 8.5.8

How to use this image?

docker run -it --rm -P raupach/tomcat

How to deploy a WAR file?

Suppose we are in a directory with one or more WAR files. Could be your maven target directory. We then mount the current directory as the webapps directory of Apache Tomcat.

docker run -it --rm -P -v `pwd`:/opt/apache-tomcat-8.5.8/webapps raupach/tomcat


The Docker file is stored on GitHub. Feel free to fork, send pull requests or leave feedback.

Docker Pull Command