Introduction to Docker for Java Developers
1h 23mAdvanced2022-05-23
Authors

Mary Ellen Bowman
25+ years of full life-cycle software development experience
Course details
Docker—a leading software container platform—can simplify the overall application delivery experience by providing a common platform for collaboration. Docker integrates seamlessly with existing tool chains, making it easier to deliver software rapidly if you’re running a Java application. In this course, instructor Mary Ellen Bowman helps you discover how to get started with Docker, with tips and tricks tailored specifically for Java developers working with the platform.
Learn how the Docker engine provides an easy-to-build runtime environment, a must-have for Java developers. Explore the magic of using Docker to build and run a java application without installing Maven, Tomcat, or the required version of Java. Along the way, Mary gives you pointers on best practices for containerization and using dockerfile alternatives such as Cloud Native Buildpacks and plugins for Google Jib and Spring Boot.
Learn how the Docker engine provides an easy-to-build runtime environment, a must-have for Java developers. Explore the magic of using Docker to build and run a java application without installing Maven, Tomcat, or the required version of Java. Along the way, Mary gives you pointers on best practices for containerization and using dockerfile alternatives such as Cloud Native Buildpacks and plugins for Google Jib and Spring Boot.
Skills covered
DockerVirtualizationJavaOraclePersonaProgramming LanguagesNetwork and System AdministrationSoftware Development
Concepts
0. Introduction
- 01 - Zero to Zero to Hero
- 02 - What you should know
1. Getting Started
- 03 - Imagine building and launching a Java app without Java
- 04 - Installing Docker Desktop
- 05 - Building, deploying, and launching the Java app
- 06 - Scaffolding Java applications with Docker
2. Understanding Docker
- 07 - Understanding containerization
- 08 - Comparing images to containers
- 09 - Writing Dockerfiles
- 10 - Discover the Docker CLI
- 11 - Learn Dockerfile instructions
- 12 - Convert code to a Docker image
- 13 - Challenge - Modify Dockerfile to remove Forever.java
- 14 - Solution - Modify Dockerfile to remove Forever.java
3. Containerization Best Practices
- 15 - Layering in Docker images
- 16 - Building multistage Docker images
- 17 - Specify volumes and ports
- 18 - Docker registry
- 19 - Container orchestration with Docker Compose
4. Dockerfile Alternatives
- 20 - Ditching the Dockerfile
- 21 - Cloud Native Buildpacks
- 22 - Spring Boot Docker plugin
- 23 - The Google Jib plugin
Conclusion
- 24 - Next steps
Related courses
- Cloud-Native Development Using Java with Eclipse MicroProfile (2019)
- Practical Software-Defined Networking: 1 SDN and OpenFlow Quick Start
- Learning Docker
- Tech Recruiting Foundations: 8 Recruiting DevOps
- Creating Spring Boot Microservices
- Building a Home IT Lab
- Introduction to IoT with .NET Core
- Hands-On Linux: Build Real Command Line Confidence from Scratch
Related learn paths
- Advance Your Java Skills
- Become a Java Programmer
- Master GitHub Copilot
- Become a Java EE 7 Developer
- Prepare for the AZ-203 Developing Solutions for Microsoft Azure Exam
- MLOps Essentials for Developers and AI Engineers: Tools, Pipelines, Security
- Docker Foundations Professional Certificate
- Developing and Delivering Software with Docker