Sign inSign up

codingtony/tomcat7

By codingtony

•Updated almost 11 years ago

Image
1

451

codingtony/tomcat7 repository overview

#Dockerfile for Mule Based on codingtony/java. With Tomcat 7.0.54 (installed in /opt/tomcat)

⁠Download the image from the repo

docker pull codingtony/tomcat7
⁠Use it with your Mule application
important directoriesdescription
/opt/tomcat/tempTemporary directory
/opt/tomcat/webappsWebapps
/opt/tomcat/workWorking directory
/opt/tomcat/confConfiguration
/opt/tomcat/logsLog files
⁠Example

Will start as a deamon, with the name "mytomcat"

docker run -d -name mytomcat -p 8080:8080 -v /somewhere/where/mywebapps/is:/opt/tomcat/webapps -v /somewhere/where/iwanttolog:/opt/tomcat/logs codingtony/tomcat7

To check the stdout :

docker logs mytomcat

To stop the container :

docker kill mytomcat

To "log" on the image and see how it's built

docker run -it codingtony/tomcat7 bash

For a more complex networking scenario, use pipework⁠

Tag summary

Content type

Image

Digest

sha256:6a76eff6a…

Size

415.9 MB

Last updated

almost 11 years ago

docker pull codingtony/tomcat7