Production ready Apache Tomcat Java Servlet Application Server
10K+
Production ready Apache Tomcat Java Servlet Application Server
8.5.X-BUILD, 8.5.X, 8.5, 8, latest7.0.X-BUILD, 7.0.X, 7.0, 7Where X is the patch version number, and BUILD is the build number (look into project Tags page to discover the latest versions)
The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. The Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket specifications are developed under the Java Community Process.
The Apache Tomcat software is developed in an open and participatory environment and released under the Apache License version 2. The Apache Tomcat project is intended to be a collaboration of the best-of-breed developers from around the world. We invite you to participate in this open development project. To learn more about getting involved, click here.
Apache Tomcat software powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations. Some of these users and their stories are listed on the PoweredBy wiki page.

docker pull izdock/tomcat
docker run -it --rm izdock/tomcat
You can test it by visiting http://container-ip:8080 in a browser
If you need access outside the host, on port 8888:
docker run -it --rm -p 8888:8080 izdock/tomcat
You can then go to http://localhost:8888 or http://host-ip:8888 in a browser.
Ovverride Config Directory:
docker run -it --rm -p 8080:8080 -e APP_ADMIN_USERNAME=tomcatadmin -e APP_ADMIN_PASSWORD=VeryStrong4ndSecurePWD -e APP_HOME=/data -v /tmp/tomcat:/data izdock/tomcat
ENV APP_NAME "tomcat"
ENV APP_DESCRIPTION "Tomcat Web Application Server"
ENV APP_HOME "/opt/tomcat"
ENV APP_CONF ""
ENV APP_DATA ""
ENV APP_LOGS ""
ENV APP_TEMP ""
ENV APP_WORK ""
ENV APP_HTTP_PORT 8080
ENV APP_AJP_PORT 8009
ENV APP_SHUTDOWN_PORT 8005
ENV APP_REMOTE_MANAGEMENT 1
ENV APP_UID 91
ENV APP_GID 91
ENV APP_USR "tomcat"
ENV APP_GRP "tomcat"
ENV APP_ADMIN_USERNAME "manager"
ENV APP_ADMIN_PASSWORD ""
ENV APP_RELINK 1
ENV APP_RECONFIG 1
ENV APP_CONF_DEFAULT "${APP_HOME}/conf"
ENV APP_DATA_DEFAULT "${APP_HOME}/webapps"
ENV APP_LOGS_DEFAULT "${APP_HOME}/logs"
ENV APP_TEMP_DEFAULT "${APP_HOME}/temp"
ENV APP_WORK_DEFAULT "${APP_HOME}/work"
ENV APP_SHARED_DEFAULT "${APP_HOME}/shared"
ENV JAVA_OPTS "-Djava.awt.headless=true -XX:+UseG1GC -Dfile.encoding=UTF-8 -server -Xms128m -Xmx512m"
ENV CATALINA_HOME "${APP_HOME}"
ENV PATH "${PATH}:/opt/jdk/bin:${CATALINA_HOME}/bin"
ENV UMASK "0002"
To customize the configuration just COPY your custom configuration in /opt/tomcat/conf.
FROM izdock/tomcat
COPY ./conf /opt/tomcat/conf
docker build --rm=true -f Dockerfile --pull=true --build-arg IMAGE_FROM=tomcat:8.5.51-jdk8-openjdk-slim --build-arg APP_VER_MAJOR=8 --build-arg APP_VER_MINOR=5 --build-arg APP_VER_PATCH=51
Where to get help: InitZero Corporate Support
Where to file issues: https://github.com/ugoviti
Maintained by: Ugo Viti
Supported architectures:
[amd64]
Supported Docker versions: the latest release (down to 1.6 on a best-effort basis)
View Apache license information and for the software contained in this image.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
Content type
Image
Digest
sha256:0b95909bf…
Size
348.6 MB
Last updated
6 months ago
docker pull izdock/tomcat