Skip to content

Instantly share code, notes, and snippets.

@marsyang1
Last active August 29, 2015 14:19
Show Gist options
  • Save marsyang1/b63c6785e2a077f1bd63 to your computer and use it in GitHub Desktop.
Save marsyang1/b63c6785e2a077f1bd63 to your computer and use it in GitHub Desktop.
Docker Setup Tomcat
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