Advertisement
Guest User

How to deploy a WAR file into a Tomcat Docker container?

a guest
Nov 18th, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. docker run -v $(pwd)/demos.war:/usr/local/tomcat/webapps/editor.war -it -p 8888:8080 tomcat
  2.  
  3. firefox http://localhost:8888/editor/indexRISC.html
  4.  
  5.  
  6. https://stackoverflow.com/a/46748465/2339010
  7. https://hub.docker.com/r/_/tomcat/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement