Running your application as a docker container will eliminate problems during moving applications to multiple environments. Master Docker fundamentals that are required for smooth deployment of Spring Boot applications
Key Features
- Master the fundamentals of Containerization and Docker
- Use Docker networks, volumes, and various Docker commands
- Create Dockerfiles and Docker Compose files to Dockerize your Spring Boot projects
Book 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.
Add the resources for this course are available at https://github.com/PacktPublishing/Docker-for-Java-and-Spring-Boot-Developers
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
Who this book is for
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.