Last active
August 29, 2015 14:19
-
-
Save marsyang1/b63c6785e2a077f1bd63 to your computer and use it in GitHub Desktop.
Docker Setup Tomcat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. create folder at /var/tomcat/conf at host | |
2. copy conf/all file to /var/tomcat/conf | |
3. add jndi setting for test | |
3. chmod -R 766 /var/tomcat/conf | |
4. docker run -it -p 8080:8080 -v /tomcat/conf:/var/tomcat/conf tutum/tomcat | |
5. deploy testjndi.war to check jndi has setup finished |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment