- Tomcat 9.0.34
- JDK 1.8.242-0
- WAR deployed as root context "/"
- Tomcat configuration files from /tomcat/conf override default configuration /opt/bitnami/tomcat/conf
- Port 8080 forwards to 8443
- Port 8443 configured with HTTP/2 protocol over TLS 1.2/1.3 using Apache APR and APR Tomcat Connector
- ROOT.war gets built
- autoDeploy and deployOnStartUp attributes of the tag
<Host name="localhost" appBase="webapps".../>
are set to "false" - /tomcat/conf/server.xml overrides default server.xml
- defalut ROOT folder gets deleted
- ROOT.war gets copied to /opt/bitnami/tomcat/webapps
docker login
docker run --name t9 -d --rm -p 8080:8080 -p 8443:8443 andriykalashnykov/bitnami-tomcat9-jdk18-root-war:latest
docker exec -t t9 sh -c "cat /opt/bitnami/tomcat/conf/server.xml | grep 'custom config'"
docker exec -t t9 sh -c "cat /opt/bitnami/tomcat/conf/server.xml | grep 'TLSv1.3,TLSv1.2'"
docker exec -t t9 sh -c "cat /opt/bitnami/tomcat/logs/catalina.*.log | grep 'APR'"
docker exec -t t9 sh -c "cat /opt/bitnami/tomcat/conf/tomcat-users.xml | grep 'admin-script'"
docker exec -t t9 sh -c "curl http://localhost:8080/index.html"
docker exec -t t9 sh -c "curl -k https://localhost:8443/index.html"
docker stop t9