In the previous chapter, we explained the image and container handling, and its housekeeping techniques and tips in detail. In addition to that, we described the standard procedure for installing a software package on a Docker container and then converting the container into an image for future usage and maneuvering. This chapter is quite different from the previous ones and is included in this book to clearly describe how Docker images are built using Dockerfile, which is the standard way for building highly usable Docker images. Leveraging Dockerfile is the most competent way of building powerful images for the software development community.
We will cover the following topics in this chapter:
- Docker's integrated image building system
- A quick overview of the syntax of Dockerfile
- The Dockerfile build instructions
- A brief overview of the Docker image management