Base image for Java web applications with Tomcat 8.0.14 and OpenJDK 8.
104
Image name: cemkefeli/webappstack-java:tomcat_8.0.14-openjdk_8
Purpose: Base image for running Java web applications using Apache Tomcat and OpenJDK.
This image includes:
CATALINA_HOME and Java environment variablesdocker run -d -p 8080:8080 --name webapp-tomcat cemkefeli/webappstack-java:tomcat_8.0.14-openjdk_8
Then visit:
š http://localhost:8080ā
Mount your application into /usr/local/tomcat/webapps:
docker run -d -p 8080:8080 -v $(pwd)/myapp.war:/usr/local/tomcat/webapps/myapp.war cemkefeli/webappstack-java:tomcat_8.0.14-openjdk_8
| Variable | Description | Default |
|---|---|---|
JAVA_OPTS | Extra Java runtime options | -Xms512m -Xmx1024m |
CATALINA_OPTS | Tomcat-specific options | (empty) |
TZ | Timezone | UTC |
Tags follow this pattern:
tomcat_<version>-openjdk_<version>
Examples:
tomcat_8.0.14-openjdk_8tomcat_8.5-openjdk_11tomcat_9-openjdk_17services:
webapp:
image: cemkefeli/webappstack-java:tomcat_8.0.14-openjdk_8
container_name: container-webapp-tomcat
ports:
- "8080:8080"
volumes:
- ./webapps:/usr/local/tomcat/webapps
restart: unless-stopped
Maintainer: cemkefeliā / http://www.cemkefeli.comā Part of the WebAppStack project ā modular Docker images for scalable web application stacks.
This image is distributed under the same license terms as the included open-source components (Tomcat, OpenJDK).
Content type
Image
Digest
sha256:2b933bc4cā¦
Size
249.3 MB
Last updated
11 months ago
docker pull cemkefeli/webappstack-java:tomcat_8.0.14-openjdk_8