Public | Automated Build

Last pushed: 3 years ago
Short Description
Tomcat 8 on Oracle Java 8
Full Description

Tomcat 8 on Java 8

This image includes Tomcat 8 installation and deployment. It is based on inovatrend/java8 , check there what else is installed on it.

Tomcat runs as runit service. It is installed in /opt/tomcat dir, and includes Tomcat Manager for deployment of webapps.

To access Tomcat Manager:

  • Username: admin
  • Password: can be set when running docker container by passing TOMCAT_PASS env. veriable. Otherwise random password is generated on startup.

Password can be seen using command:

docker logs <container_id>

In log entry similar to this will appear:

You can now configure to this Tomcat server using:



Pulling image

A prebuilt container is available on Docker Hub, you can get it with following command

docker pull inovatrend/tomcat8-java8


To test run it, run following command:

docker run --rm -P -t -i inovatrend/tomcat8-java8 /sbin/my_init -- bash -l

To run it as daemon, you can use command similar to this one:

docker run -d -p 49154:8080 --name app_name -e " -Xmx1024m" -e "TOMCAT_PASS=somePass" inovatrend/tomcat8-java8
Docker Pull Command
Source Repository