Public | Automated Build

Last pushed: 3 years ago
Short Description
Apache Tomcat 8.0.23
Full Description




The base docker image :

The GitHub project :


You can clone this project and build with docker command :

git clone
cd docker-tomcat
docker build -t pascalgrimaud/tomcat:8.0.23 .

You can build directly from the GitHub project :

docker build -t pascalgrimaud/tomcat:8.0.23


To display usage :

docker run pascalgrimaud/tomcat:8.0.23 /help


Quick start with binding to port 8080 and random password :

docker run -d -p 8080:8080 pascalgrimaud/tomcat:8.0.23

To get the password :

docker logs <container id>

Start and set a specific password for Tomcat admin user :

docker run -d -p 8080:8080 -e TOMCAT_PASS="pass" pascalgrimaud/tomcat:8.0.23

If you forget the admin password, delete the file .password and restart the container :

docker exec -it <container id> rm /.password

Deploy a war

To deploy a specific file.war, you need to make another container.
Create a new directory and put your file.war.
Then, create a new Dockerfile :

FROM pascalgrimaud/tomcat:8.0.23
ADD file.war /opt/apache-tomcat-8.0.23/webapps/file.war
Docker Pull Command
Source Repository