This image, sourcemation/tomcat-10, provides a robust and secure Apache Tomcat 10.1 environment built on a minimal Debian 13 Slim base. It is designed for modern Java applications using the jakarta.* namespace (Jakarta EE 10).
Maintained by the Sourcemation automation team, this Tomcat distribution is regularly updated to ensure it's current, secure, and compact. It includes Tomcat Native (APR) support for high-performance production workloads and integrates with Sourcemation's CA certificate injection system.
sourcemation/jre-25.To start a basic Tomcat instance:
docker run -d -p 8080:8080 sourcemation/tomcat-10:latest
Instead of creating a new image for every code change, you can mount your .war file or application directory from the host to the container:
docker run -d \
-v ./my-app.war:/usr/local/tomcat/webapps/my-app.war:ro \
-p 8080:8080 \
sourcemation/tomcat-10:latest
For production, it is recommended to "bake" the application into the image:
FROM sourcemation/tomcat-10:latest
COPY my-app.war /usr/local/tomcat/webapps/
You can customize Tomcat's behavior by mounting configuration files over the defaults in /usr/local/tomcat/conf/:
docker run -d \
-v ./server.xml:/usr/local/tomcat/conf/server.xml:ro \
-p 8080:8080 \
sourcemation/tomcat-10:latest
CATALINA_OPTS: Options passed to the Tomcat startup command. Recommended for memory settings (e.g., -Xmx1G).JAVA_OPTS: Options passed to the JVM.USE_SYSTEM_CA_CERTS: If set to true, the container will automatically import CA certificates from the /certificates directory into the Java truststore.The default Tomcat port 8080 is exposed.
/usr/local/tomcat/webapps.dist. The /usr/local/tomcat/webapps directory is empty by default to reduce the attack surface.stdout) by default, allowing docker logs to capture all relevant information.We'd love for you to contribute! You can request new features, report bugs, or submit a pull request with your contribution to this image on the Sourcemation GitHub repository.
Disclaimer: The sourcemation/tomcat-10 image is not affiliated with the Apache Software Foundation. The respective companies and organisations own the trademarks mentioned in the offering. The sourcemation/tomcat-10 image is a separate project and is maintained by Sourcemation.
A comprehensive risk analysis report detailing the image and its components can be accessed on the Sourcemation platform.
The base license for Apache Tomcat is the Apache License 2.0.
Content type
Image
Digest
sha256:dffae3000…
Size
127.4 MB
Last updated
12 days ago
docker pull sourcemation/tomcat-10