Deploy Spring Boot WAR to Tomcat in Docker Container

Опубликовано: 25 Май 2025
на канале: MVP Java
54,686
401

Learn How to develop and deploy your Spring Boot war application to a Remote Apache Tomcat Server running in a Docker Container.
Covers building a Docker Image through the Spotify Apache Maven plugin and a Dockerfile.

As a bonus, I'll show you how to use the Spotify plugin to push your Docker Image to a public Docker Hub repository. This Java tutorial uses the Netbeans 8.2 IDE which also runs in its own Docker Container so you'll learn how to have it communicate with the Docker host in order for your Docker Image to be built.

I'll demo the basic Docker commands you need to know from the command line to start, stop and view the logs in your Apache Tomcat 8.5 Docker Container.

You can download the docker image tutorial straight from DockerHub by executing ...
docker pull mvpjava/springboot_docker_tomcat

If you want to learn how to Setup your Netbeans IDE (or any really) in a Docker Container then Click on the link below to see the video "Docker for your Java Development Environment" ...
   • Docker for your Java Development Environment  
==============================================

Subscribe to MVP Java ...
https://www.youtube.com/c/MVPJava?sub...

Follow me ...
Website: http://www.mvpjava.com
Google+ : http://bit.ly/1Jsnnfj
Facebook:   / mvpjava  
Twitter :   / mvpjava