docker tomcat deployment

1. mirroring those facie, see a mirror tomcat 
~ Docker Images the REPOSITORY the TAG ID CREATED the IMAGE SIZE tomcat Latest a7fa4ac97be4 . 6 Days ago Member 528MB Mongo Latest bcef5fd2979d . 4 weeks ago Member 386MB RabbitMQ Management db695e07d0d7 . 3 months ago Member 181MB the memcached Latest 0860688a721c . 4 months ago Member 82 .2MB Nginx 1.17 . . 5 540a289bab6c . 5 months ago 126MB redis latest de25a81a5a0b 5 months ago 98.2MB nginx latest f949e7d76d63 6 months ago 126MB redis 5.0.5 63130206b0fa 6 months ago 98.2MB mysql 8.0 b8fd9553f1f0 6 months ago 445MB memcached 1.5.16 c809d7def06c 7 months ago 82.1MB rabbitmq 3.7.7-management 2888deb59dfc 18 months ago 149MB jenkins latest cd14cecfdb3a 20 months ago 696MB

 

2. Direct dockerfile need not run file, as long as the host of the -v tomcat directory docker container linked to it, directly after the replacement of the host file and then restart ok. 
File package named ROOT.war, and then create a folder to webapps ROOT.war party went ok. The webapps directory hang into the like
Docker RUN = --privileged to true --name = promotion- 9305 -v / mnt / Tomcat / Promotion / webapps: / usr / local / Tomcat / webapps -d -p 9305 : 8080 Tomcat

 

Guess you like

Origin www.cnblogs.com/sz-jack/p/12558582.html
Recommended