Docker image with Tomcat 9 JDK 1.8
10K+
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"
Content type
Image
Digest
Size
101.1 MB
Last updated
almost 8 years ago
docker pull sergeyshow/docker-tomcat9