HUB
Sign inSign up

sergeyshow/docker-tomcat9

By sergeyshow

•Updated about 8 years ago

Docker image with Tomcat 9 JDK 1.8

Image
0

10K+

sergeyshow/docker-tomcat9 repository overview

This image with Tomcat 9 link to origin http://apache-mirror.rbc.ru/pub/apache/tomcat/tomcat-9/v9.0.12/bin/apache-tomcat-9.0.12.tar.gz⁠

Modified Files in archive:

only tomcat-users.xml

one user manager with password welcome1

if you want change this password, you must open this file for edit and change "welcome1" to your value, before building image.

docker command for create image "$ docker build -t tomcat9 ."

Image base on alpine with Oracle JDK 1.8

application directory /opt/tomcat CATALINA_HOME=/opt/tomcat

Start container

$ docker run -d -p 8080:8080 sergeyshow/docker-tomcat9

After running container don`t forget about file "context.xml" in directory "/opt/tomcat/webapps/manager/META-INF", adding you network in line "allow" with format (example |127.\d+.\d+.\d+ for 127.0.0.0)

command to start "catalina.sh run"

Tag summary
Recent tags
Content type
Image
Digest
Size
101.1 MB
Last updated
about 8 years ago
docker pull sergeyshow/docker-tomcat9:latest