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

LinkedIn Learning

Docker for Java Developers

via LinkedIn Learning

Overview

Get started using common commands in Docker with tips and tricks for adding Docker to Java Build Pipelines.

Syllabus

Introduction
  • Zero to Zero to Hero
  • What you should know
1. Getting Started
  • Imagine building and launching a Java app without Java
  • Installing Docker Desktop
  • Building, deploying, and launching the Java app
  • Scaffolding Java applications with Docker
2. Understanding Docker
  • Understanding containerization
  • Comparing images to containers
  • Writing Dockerfiles
  • Discover the Docker CLI
  • Learn Dockerfile instructions
  • Convert code to a Docker image
  • Challenge: Modify Dockerfile to remove Forever.java
  • Solution: Modify Dockerfile to remove Forever.java
3. Containerization Best Practices
  • Layering in Docker images
  • Building multistage Docker images
  • Specify volumes and ports
  • Docker registry
  • Container orchestration with Docker Compose
4. Dockerfile Alternatives
  • Ditching the Dockerfile
  • Cloud Native Buildpacks
  • Spring Boot Docker plugin
  • The Google Jib plugin
Conclusion
  • Next steps

Taught by

Arun Gupta

Reviews

4.6 rating at LinkedIn Learning based on 258 ratings

Start your review of Docker for Java Developers

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.