Sign inSign up

sgrio/tomcat

By sgrio

•Updated over 5 years ago

A simple tomcat image on top of Ubuntu

Image
2

2.3K

sgrio/tomcat repository overview

⁠Simple and production ready Tomcat docker images on top of CentOS

This repository contains Dockerfile of Tomcat⁠ for Docker⁠'s automated build⁠ published to the public Docker Hub⁠.

The following extra components and configurations has been applied to the Tomcat server in these images to make it production ready:

  • Unecessary files(.exe, .bat, etc.) and default applications(like host manager) has been removed to reduce image size
  • APR support, version 1.7.0
  • TC Native support, version 1.2.23
⁠Docker Tags

sgrio/tomcat provides several tagged images:

  • Default (Your best choice)

    • latest: pointed to 8.5.64-jdk8-centos7
  • Tomcat 9 Comming soon.

  • Tomcat 8.5

    • Java 8
      • 8.5.64-jdk8-centos7: Tomcat version 8.5.64 with OpenJDK 8
  • Tomcat 7

    • Java 8
      • 7.0.96-jdk8-centos7: Tomcat version 7.0.96 with OpenJDK 8
⁠Installation
  1. Install Docker⁠.

  2. Download automated build⁠ from public Docker Hub⁠: docker pull sgrio/tomcat

⁠Usage
docker run -d -p 8080:8080 -v /path/to/webapp:/opt/apache-tomcat sgrio/tomcat
⁠Advanced
You can always mount your own volumns to override the default configurations. I assume you know how to do that, right?

Tag summary

Content type

Image

Digest

Size

203.8 MB

Last updated

over 5 years ago

docker pull sgrio/tomcat