Install tomcat on an Ubuntu server.
Java startup parameters can be passed via environment variables. Port 8080 is exposed to linked containers.
To build:
docker build -t wmit/tomcat[:7]
To run:
docker run wmit/tomcat[:7]
To change java options set the CATALINA_OPTS environment variable.
The default value is -Xms512M -Xmx1024M
The version of tomcat can be adjusted by editing the line that reads
ENV TOMCAT_VERSION 7.0.54 in the Dockerfile, the re-building the image.
Content type
Image
Digest
sha256:e16d09912…
Size
438.3 MB
Last updated
almost 11 years ago
docker pull wmit/tomcat:7