Public | Automated Build

Last pushed: 6 months ago
Short Description
Tomcat image for Docker based on Alpine.
Full Description

Tomcat Image

Description

This is my minimal customized Tomcat image based on Alpine (with my alpine image).
No root process.
The only purpose for this image is to be the starting point for my tomcat apps.

Packages

• Packages from khirin/alpine
• openjdk8-jre
• apache-tomcat-8.0.41

Default Configuration

• Configuration from khirin/alpine
• Default user (UID) : tomcat (2000)
• Default group (GID) : tomcat (2000)
• Default port : 8080

Usage

This image isn't made for being directly used so use it for testing only.
• Run : Will use the default configuration above. Only for testing.
• Build : Example of custom build. You can also directly modify the Dockerfile (I won't be mad, promis !)
• Create : Example of custom create. Only for testing.

• Run

docker run --detach -p 8080:8080 khirin/tomcat

• Build
docker build --no-cache=true \
            --force-rm \
            --build-arg UID="2000" \
            --build-arg GID="2000" \
            --build-arg PORT="8080" \
            -t repo/tomcat .
• Create

docker create -p 8080:8080 --hostname=tomcat --name tomcat repo/tomcat

Author

khirin : DockerHub, GitHub

Thanks

All my images are based on my personal knowledge and inspired by many projects of the Docker community.
If you recognize yourself in some working approaches, you might be one of my inspirations (Thanks!).

Docker Pull Command
Owner
khirin
Source Repository