Here's our goal for this tutorial. We will compile the Java code, and on a successful build, we’ll package it up into a jar, and create a Docker container containing our Java application. We’ll do all of this within Maven. The Maven script can be called from any continuous integration tool.
From there we can push the docker file to a Docker repository, or we can use it to spin up as many instances of the machine that we want. That’s the power of Docker. We define our container once, and we can run it as many times as we want. This is important for microservices.
#java #docker #tutorial
▼
Like the video? Don't forget to subscribe! ➜ http://www.deegeu.com/subscribe
▼
Keep up to date with the newsletter! ➜ http://www.deegeu.com/newsletter/
▼
Transcript ➜ http://www.deegeu.com/deploy-java-app...
Concepts: Java, Docker, microservices, maven
Social Links: Don't hesitate to contact me if you have any further questions.
WEBSITE : [email protected]
TWITTER : / deege
FACEBOOK: / deegeu.programming.tutorials
GOOGLE+ : http://google.com/+Deegeu-programming...
About Me: http://www.deegeu.com/about-programmi...
Related Videos:
▼
Microservices ➜ • Here's a quick way to understand micr...
▼
Maven ➜
• Make Apache Maven Work For You!
Media credits: All images are owned by DJ Spiess or used under CC0 unless listed below
Music:
Airport Lounge - Disco Ultralounge by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/...)
Source: http://incompetech.com/music/royalty-...
Artist: http://incompetech.com/