Video description
Docker is an open-source tool to package your applications and everything they need as containers. You can then use these containers on your laptop, in testing, stage, and all the way to production, which could be on the cloud or servers within your organization.
This course starts with the basics of AWS EC2, which we will use to launch Linux instances to install and use Docker. You will master all the fundamentals of Docker such as Docker layers, networking, volumes, and bind mounts. You will learn how to launch different types of containers and master various Docker commands in the process. You will create a Docker hub account and learn how to push your images to the Docker hub as well.
You will create two Spring Boot microservice restful applications that will use each other. You will create Docker files for these two projects using Visual Studio Code IDE. You will launch a MySQL container that will be used by your microservice containers. You will learn how to access the applications running in the containers from your local machines. You will then use Docker Compose to launch multiple containers in one shot. You will also master what Docker Swarm is and how to use it.
What You Will Learn
- Use various Docker commands to pull images and launch containers
- Learn how Docker networking works
- Use Docker volumes and bind mounts and know the differences
- Dockerize your Spring Boot microservice applications
- Use Docker Compose to launch multiple containers in one shot
- Learn the fundamentals of Docker Swarm
Audience
Experienced Java developers who want to learn Docker and use it on their projects. Spring Boot developers who want to understand how Docker works and want to create Docker files and Docker Compose files to Dockerize their projects.
About The Author
Bharath Thippireddy: Bharath Thippireddy is an entrepreneur, software architect, and public speaker who has trained over 350,000 students across the globe. He is an Oracle certified developer, web component developer, business component developer, and web services developer who loves learning new things in technology and personal development, and sharing them on his website and YouTube channel.
He has mentored students in classroom training as well as in the corporate world in India and USA and has spoken on technical topics at several Agile conferences. While in India, he volunteers to teach interviews and soft skills at Vivekananda Kendra.
Table of contents
- Chapter 1 : Introduction and AWS Basics
- Chapter 2 : Software Setup for Micro Services
- Chapter 3 : Create Micro Services
-
Chapter 4 : Docker
- Introduction
- Docker Architecture and Workflow
- Docker in Action
- Docker Run
- Docker Clean Up
- Get Comfortable with Docker Run
- Docker Commit
- Docker Layers and Overlay Storage
- Launch MySQL Container
- Volumes and Bind Mounts
- Use Volumes
- Use Bind Mounts
- Docker Networking in Action
- Change a Containers Network
- Windows-Install Docker
- Dockerfile Introduction
- First Dockerfile
- Beauty of Docker Layers
- Chapter 5 : Dockerize Micro Services
- Chapter 6 : Docker Compose
- Chapter 7 : Docker Swarm
Product information
- Title: Docker for Java and Spring Boot Developers
- Author(s):
- Release date: May 2021
- Publisher(s): Packt Publishing
- ISBN: 9781801812979
You might also like
video
Containerize Spring Boot CRUD App with Docker and Docker Compose
In this course, you will learn everything about Docker and run your Spring Boot apps and …
book
Docker for Java Developers
The established way to deploy Java applications requires you to install the Java Development Kit (JDK), …
book
Docker and Kubernetes for Java Developers
Leverage the lethal combination of Docker and Kubernetes to automate deployment and management of Java applications …
video
Spring MVC With Spring Boot (All Modules) and Project
This course lays a solid foundation in dependency injection and Spring's core functionalities, demystifying the principles …