Tomcat Docker

Apache Tomcat is an open source implementation of the Java Servlet and JavaServer Pages technologies

Docker

docker run -it --rm -p 8888:8080 tomcat:9.0
docker run -d --rm --name tomcat -p 8080:8080 tomcat:8.5.78-jdk8
docker run -d --rm --name tomcat -p 8080:8080 tomcat:8.5.78-jre8

docker run -d --restart=always -e TZ=Asia/Shanghai \
-v $PWD/webapps:/usr/local/tomcat/webapps \
--name tomcat -p 8080:8080 tomcat:8.5.78-jdk8

http://localhost:8080/