Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 936 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 936 Bytes

Tomcat based on OracleJDK and Alpine

This image is based on Oracle JDK8 and Alpine Linux.

JDK bundle contains lots of unnecessary for Docker image stuff, so it was cleaned up by frolvlad.

The examples and docs have been cleaned up in tomcat.

Usage Example

Run in an interactive mode and watch the log

$ docker run -it --rm splazit/tomcat

Run in a daemon mode, expose port 8080 to host and mount webapps and logs dir to the host

$ docker run -d -p 8080:8080 -v [host_path_webapps_dir]:/tomcat/webapps -v [host_path_logs_dir]:/tomcat/logs splazit/tomcat

Once you have run the above command, you should be able to connect to your http://localhost:8080/

Feel free to leave any suggestions.