Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Docker for Java Developers
Rating: 4.5 out of 5(1,712 ratings)
19,264 students

Docker for Java Developers

Learn Docker, Containerization, containers, running app in docker, docker compose
Created byNavin Reddy
Last updated 8/2025
English
English [Auto],Spanish [Auto],

What you'll learn

  • Why Docker is important
  • What is Docker
  • How Docker Works
  • Docker for Java Developers
  • How to use Docker Compose

Course content

1 section17 lectures2h 12m total length
  • Introduction to Docker Course0:48

    Explore why Docker matters in software development, learn core concepts, set up Docker, run a container, build a Spring Boot application in Docker, and manage multi-container setups with Docker Compose.

  • What problem we are trying to solve5:09

    Understand the problem of environment mismatch when sharing projects across development, testing, and production, causing works on my machine failures. Learn how virtualization addresses this before introducing docker.

  • Solution With Virtualization10:00

    Explore virtualization concepts, including host and guest operating systems, hypervisors, and virtual machines, and see how containerization offers a lighter, isolated alternative for deploying apps.

  • Solution With Containerization5:49

    Learn how containerization replaces heavy virtual machines by packaging applications with all dependencies into portable Docker containers, enabling isolation, portability, and consistent deployments.

  • What Is Docker4:33

    Discover how Docker provides a platform and tools for containerization, including the Docker engine, containers, and images, plus Docker Hub, networking, volumes, and compose.

  • Docker Setup7:23

    Set up Docker on Windows or Mac by downloading Docker Desktop, verify installation with docker version, and pull and run images to explore containers and Docker Engine.

  • Running First Container10:14

    Explore how to run your first container with Docker Desktop, pull official images from Docker Hub, and manage containers using docker run, docker pull, and docker ps.

  • Docker Commands10:19

    Explore essential docker commands for java developers, including search, pull, create, run, start, stop, pause, and remove containers and images, with a practical step-by-step workflow.

  • Docker Architecture3:30

    Explore how the Docker client communicates with the Docker daemon and API to pull images, run containers, and manage networks, volumes, and public or private registries.

  • Running JDK Docker Container7:39

    Learn to run a Java development environment inside Docker by pulling an OpenJDK image, selecting the right tag for your architecture, and executing jshell and Java commands.

  • Packing The Spring Boot Web App8:07

    build a spring boot web app from start.spring.io, package it as a jar with mvn package, run on port 8081, and prepare rest-demo.jar for docker container use.

  • Running Spring Boot Web App On Docker8:42

    Copy the jar into the container, commit the container to an image, and run it with Java -jar to deploy the Spring Boot app on port 8081, exposing the port.

  • Dockerfile For Docker Images8:30

    Learn to automate java image creation with a dockerfile using openjdk, copy rest demo.jar, set entrypoint java -jar, and build and run with docker build and docker run.

  • Web App With Postgres16:07

    Learn to run two containers, a spring boot web app, and a Postgres database, connect them, and use Docker Compose for multi-container workloads.

  • Docker Compose12:44

    Learn to dockerize a spring boot app with postgres using docker compose, build the jar, create a dockerfile, and run app and postgres in separate containers with configured ports.

  • Running Multiple Containers7:44

    Learn to run multiple containers with Docker Compose, connect the app to a Postgres container via container networking, align ports and networks, and introduce volumes to persist data.

  • Docker Volumes5:26

    Learn how to persist data in Docker containers by using volumes and Docker Compose to store database data on the host, ensuring data survives restarts.

Requirements

  • Basic Programming and Operating System Knowledge

Description

Embark on a transformative journey into the world of containerization with our Docker course designed for beginners. This comprehensive program introduces you to the fundamental concepts of virtualization and containerization, demystifying complex technologies to make them accessible.


The course kicks off with an exploration of virtualization, providing a solid foundation for understanding containerization. Dive into Docker setup and commands, gaining hands-on experience with one of the industry's leading containerization tools. Uncover the intricacies of Docker's architecture, learning how it streamlines the development and deployment processes.


Practical application is a key focus, as the course guides you through packing a Spring Boot web app into a Docker container. Witness the seamless integration of Docker with a Spring Boot application, and elevate your skills by running the web app on Docker. Delve into advanced topics like orchestrating multi-container applications using Docker Compose, managing data with volumes, and integrating a Spring Boot web app with a Postgres database


By the end of this course, you'll emerge with a solid grasp of Docker fundamentals, equipped to harness the power of containerisation in your development projects. Whether you're a novice or looking to enhance your skills, this course is your gateway to mastering Docker and revolutionizing your approach to software development.

Who this course is for:

  • Software Developer