No need to clone this repo if you just want to use the image for yourself.
To startup a Tomcat instance using the image, you can run the following command
docker container run --name tomcat-with-manager -d -p 8080:8080 semmtech/tomcat:latest
Of course port 8080 is needed, so it should not already be in use on your machine for any other processes.
Afterwards you can access the Tomcat Manager GUI at http://localhost:8080/manager/html and login, using admin and password.
If you also want to immediately deploy .war file during startup, use
docker container run --name tomcat-with-manager -d -p 8080:8080 -v "/path/to/application.war:/usr/local/tomcat/application.war" semmtech/tomcat:latest
This will bind the .war inside the container and automatically be picked up by Tomcat to be deployed on the application/ context.
To stop this container again, run
docker container stop tomcat-with-manager
See the (internal) Semmtech GitLab project for the source at https://gitlab.com/semmtech/docker/tomcat.
Content type
Image
Digest
Size
318.3 MB
Last updated
over 6 years ago
docker pull semmtech/tomcat