Chapter 2. Containerizing Microservices with Docker
In this chapter, we will focus more on how to package and ship our microservice. We will learn the following recipes:
- Building an executable JAR using the Maven Shade plugin
- Building an executable JAR using the Spring Boot Maven plugin
- Installing and setting up Docker
- Writing your Dockerfile
- Building your Docker image
- Running your microservice inside a Docker container
- Pushing your image to Docker Hub