Video is locked.

Unlock the full course today

Join today to access over 15,000 courses taught by industry experts or purchase this course individually.

Docker for Java Developers

Docker and Maven

From the course: Docker for Java Developers

Start my 1-month free trial
  • Course details

    Docker—a leading software container platform—can simplify the overall application delivery experience by providing a common platform for collaboration. Docker integrates seamlessly with existing tool chains, making it easier to deliver software rapidly. In this course, discover how to get started with Docker, and learn tips and tricks tailored for Java developers working with the platform.

    Arun Gupta explains how to run containers and build images, as well as how to deploy multi-container applications on multiple hosts. Arun also covers Docker clustering, demonstrates how to run stateful containers, shares strategies on how to persist the state of stateful containers, and goes into monitoring Docker containers.

    Instructor

    • Click here to view Arun Gupta’s instructor page

      Arun Gupta

      • Arun Gupta is a principal open-source technologist at Amazon Web Services.

        He has built and led developer communities for over 10 years at Sun Microsystems, Inc., Oracle, Red Hat, and Couchbase. He has deep expertise in leading cross-functional teams to develop and execute strategy, planning and execution of content, marketing campaigns, and programs. Prior to that, he led engineering teams at Sun and was a founding member of the Java EE team.

        Gupta has authored more than 2,000 blog posts on technology. He has extensive speaking experience in more than 40 countries on myriad topics, and has been a JavaOne Rock Star for four years in a row. Arun also founded the Devoxx4Kids chapter in the US and continues to promote technology education among children. An author, avid runner, globe-trotter, Java Champion, JUG leader, NetBeans Dream Team member, and Docker Captain, he is easily accessible at @arungupta.

    Skills covered in this course

  • Welcome

    - [Instructor] We saw how easy it was to package a Java application in a Docker image and run it as a Docker container. But that still required a lot of hard coding, or building or authoring a Docker file, and then running the command. Now typically, when you are packaging a Java application, or when you're building a Java application, you use tools like Maven. And then you say, Maven clean package, and it just packages it for you. So, what are my options? Now this section will show you how can you easily use a Docker Maven plug-in to embed that as part of your usual development cycle. So for that, we're going to look at the Java repo, and then we will take a look at the project, and then we will show you the commands. First thing, let's take a look at this simple Docker Java sample. Now you can check out from this GitHub repo over here, click on clone or download, and you can clone this repo very easily. I've already cloned this repo, and let's take a look at this repo in NetBeans…

  • Download courses and learn on the go

    Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.

    Watch this course anytime, anywhere. Get started with a free trial today.

Contents