Tomcat 8 on Oracle Java 8
10K+
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:
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:
admin:6dD6x4f4IVKT
========================================================================
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 "JAVA_OPTS=-Dsome.property=value -Xmx1024m" -e "TOMCAT_PASS=somePass" inovatrend/tomcat8-java8
Content type
Image
Digest
sha256:5240ee4c9…
Size
293.5 MB
Last updated
about 11 years ago
docker pull inovatrend/tomcat8-java8