Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Containerize Spring Boot CRUD with Docker and Docker Compose

Packt via Coursera

Overview

In this course, you will master Docker and Docker Compose to run Spring Boot applications and databases within containers. Initially, you will understand the necessity of executing apps in containers and familiarize yourself with Docker, Image, Container, Docker Hub, and Dockerfile. We will explore the benefits of using Docker, creating Dockerfiles, building Docker images, and launching containers. You will learn to convert a regular Spring Boot program into a Docker-based application, run databases within containers, and enable inter-container communication. Additionally, you will: - Check logs, manage images and containers - Create and utilize Docker Compose files to run multiple containers. - Cover creating Spring Boot applications using the Spring Initializer, - Understanding the Docker Hub, its repositories, images, and tags, and tagging Docker images to specific versions. - Build code, tag images, and push them to Docker Hub. By the end, you'll be proficient in building, running, and pushing containers to the central hub. This course is ideal for anyone interested in containers with basic Java and Spring Boot knowledge. This course is ideal for Java developers, DevOps engineers, and IT professionals looking to enhance their skills in containerization and microservices deployment. A basic understanding of Java, Spring Boot, and RESTful APIs is recommended.

Syllabus

  • Everything About Docker
    • In this module, we will introduce Docker, exploring its necessity, fundamental concepts, and the benefits it brings to software development. You will gain a foundational understanding of Docker's role and workflow in streamlining application deployment and management.
  • Installation and Setup
    • In this module, we will guide you through the installation and setup of Docker Desktop and related development tools. You will learn to configure a Spring Boot application, set up your project in IntelliJ, and create your first REST API, preparing your environment for Docker development.
  • Spring Boot Docker and Docker Hub
    • In this module, we will delve into integrating Spring Boot with Docker. You will learn to create Dockerfiles, build and push images to Docker Hub, and run containers from these images. This section will also cover important Docker commands and the overall workflow.
  • Running Multiple Containers
    • In this module, we will focus on running multiple containers to manage complex applications. You will learn to Dockerize databases, build images, run containers, and establish connectivity between services like Spring Boot and MongoDB. Debugging and end-to-end testing of your applications will also be covered.
  • All about Docker Compose
    • In this module, we will explore Docker Compose, a tool for defining and running multi-container Docker applications. You will learn to create Docker Compose files, deploy and test applications, and effectively manage containerized environments with Docker Compose.

Taught by

Packt - Course Instructors

Reviews

Start your review of Containerize Spring Boot CRUD with Docker and Docker Compose

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.