Summary
In this chapter, we learned about what Docker is and how to use it. Building applications is one part of the puzzle, but packaging them to be deployed in a cloud environment requires developers to understand Docker and how to build Docker images for their applications. We looked at how Docker stores images on your local machine and also inspected the state of the running container.
We learned that when containers are running, there is a lot of information generated that can help us to understand what’s going on with the container and also the parameters used to run our application. We also learned about the Dockerfile
and used it to package our sample application into a container to run it as a single Docker image.
In the next chapter, we will use the knowledge we gained in this chapter by deploying our images to a cloud environment.