In this chapter, we are going to get you started building container images. We will look at several different ways with which you can define and build your images using the tools built into Docker. We will cover the following topics:
- Introducing the Dockerfile
- Building container images using a Dockerfile
- Building container images using an existing container
- Building container images from scratch
- Building container images using environmental variables
- Building container images using multi-stage builds