Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Kube By Example - Building Spring Boot Docker Images
Rating: 4.6 out of 5(224 ratings)
8,942 students

Kube By Example - Building Spring Boot Docker Images

Learn how to build Docker Images for your Spring Boot Applications
Last updated 5/2022
English

What you'll learn

  • Learn how to build a Docker Image for a Spring Boot Application
  • Learn how to build a Spring Boot Layered Docker Image to save resources
  • Build Docker Images using Apache Maven
  • Push Docker Images to Docker Hub using Maven

Course content

4 sections15 lectures1h 0m total length
  • Course Introduction0:52
  • Introduction to Kubernetes by Example3:13

    Learn Kubernetes by example (KBE) and containerize a Spring Boot app with Docker, then deploy on Kubernetes and orchestrate Spring Boot microservices with a gateway.

  • Setting Up Your Development Environment2:48

    Set up a development environment for building Spring Boot Docker images with Java 11 or higher, ensuring the JDK is installed, Docker engine runs, and Maven 3.6+ is available.

Requirements

  • Some Spring Boot and Java Experience
  • Basic Knowledge of Docker
  • Some knowledge of Apache Maven

Description

In this course you will learn how easy it is to build Docker images for your Spring Boot Applications.

The uses a simple Spring Boot Application which provides a simple RESTful API.

This application is built into an executable JAR and place inside of a Docker image.

You will learn how to write a Docker file, which will use a base Java image and then copy your Spring Boot executable JAR into the new Docker Image.

Using the command line, you will instruct Docker to build your Spring Boot Docker Image.

Once the Docker image is created, you can instruct Docker to run the image in a new container. Once running, you can use Postman to access the RESTful API in the Spring Boot application.

You will learn how to build two different Docker Images. One Docker image is with the Spring Boot Application in a single JAR archive. The second Docker image will have the Spring Boot Application in layers. Using layers helps save disk space when the application is deployed.

To support CI builds, you can also configure Apache Maven to build your application and Docker image.

In the course, you will learn how to configure the Fabric8 Maven Docker Plugin to build the Spring Boot Application, and Docker image. You will also learn how to configure the plugin to push your Docker Image to Docker Hub.

Enroll today if you wish to see how easy it is to build Spring Boot Docker images!


Who this course is for:

  • Java and Spring Developers wishing to build Docker Images for their Spring Boot applications