Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Docker, Docker Hub and Docker Compose for Java Developers
Role Play
Rating: 4.9 out of 5(28 ratings)
284 students
Last updated 2/2026
English

What you'll learn

  • Install Docker in Mac and Windows
  • Package Java applications into Docker Containers
  • Run Java applications in Docker containers
  • Find/Publish/Share Docker images on DockerHub

Course content

11 sections118 lectures7h 57m total length
  • Introduction2:22

    Learn how Docker containers package and run your Java applications identically across environments, avoiding the works-on-my-machine problem, by building a Dockerfile and leveraging public images, networks, storage, and registry publishing.

  • Introduction to Docker and Containers3:24

    Explore how Docker packages applications into isolated containers with the exact runtime, libraries, and environment variables needed, ensuring identical behavior across macOS, Windows, and Linux systems when Docker is installed.

  • Docker workflow3:11

    Learn to implement a Docker workflow by creating a Dockerfile that specifies operating system, runtime, and jar to run, then build a Docker image and run it in a container.

  • Installing Docker on Windows4:18

    Learn to install Docker Desktop on Windows 11, download from docker.com, run the installer, and start the Docker Engine; optionally enable host networking under settings for project use.

  • Installing Docker on Mac5:02

    Install Docker Desktop on Mac, download from docker.com, drag the app to the applications folder, sign in, and enable host networking in settings to run containers.

  • Installing Docker on Amazon Linux3:48

    Learn to install Docker on Amazon Linux via yum, start the Docker service, add your user to the Docker group, apply changes, and verify with docker version and docker ps.

  • Explaining Docker Basics to a Non-Technical Manager

Requirements

  • No prior knowledge of Docker is needed

Description

In this video course, you will learn how to use Docker to package and run your Java applications.

This course is designed for beginners, and we’ll start right from the basics of what Docker is and why it has become the standard tool for running applications across different environments.

You will learn:

  • What Dockerfiles, Docker images, Docker containers, and Docker registries are, and how they all fit together.

  • How to install Docker on both Mac and Windows, so you can get started no matter what operating system you use.

  • How to use the most commonly used Docker commands to build images, start containers, and manage your applications.

You will learn how to create Dockerfiles step by step, including how to:

  • Write a simple Dockerfile to containerize your application.

  • Create multi-stage Dockerfiles that make your images smaller and faster.

  • Build Docker images and run them as containers.

You will also learn how to manage containers effectively:

  • How to start, stop, and inspect containers.

  • How to connect your containers so they can talk to each other.

  • How to persist and share data using Named Volumes, Anonymous Volumes, Bind Mounts, and tmpfs storage.

You will also learn about Docker networking and how containers communicate on:

  • The default bridge network,

  • User-defined bridge networks,

  • And the host network mode.

You will learn how to use Docker Compose to build and run multiple containers with one single command!

Finally, you’ll learn how to work with DockerHub:

  • How to find and pull existing images,

  • And how to publish your own images so they can be shared with others.

All of this, from the very beginning, to help you confidently start using Docker as a Java developer and take your applications from your laptop to the cloud.

Who this course is for:

  • Java Developers interested in learning how to use Docker