Dockerfile to build two standalone Tomcat servers on CentOS 7
Please adapt cmd scripts to shell scripts to run on Linux.
Different versions of jdk or tomcat can be used. Just modify the build.cmd accordingly.
To build the image
build.cmd <name>
Create in current directory the two following directories:
- mount/user1/tomcat/logs
- mount/user1/tomcat/logs
run.cmd <name>
Tomcat servers will run on port 8080 and 18080.
Run the following to connect to the container:
exec.cmd <name>