After reading the past chapters, you should be able to pull a image and use it as the base for your own image. We already know how to create an image, attach volumes, expose ports, and run it in a container. We can also publish it into the Docker Hub for others to use. This is the last chapter in which we are going to cover some practical examples of how you can put Docker to use in your daily life as a developer. First of all, you will learn how to make Docker work with the most popular Java build system: Maven. Then we can put our applications into containers in practice; we will run Spring Boot Java application from inside a Docker container. Next, we will pack the Angular.js frontend application, which runs on Node.js in a Docker container. These examples should give you an idea and some inspiration on how you can create Docker containers with your own applications. In particular, we are going to cover the following topics in this chapter:
Using...