Book Image

Learning Docker

By : Pethuru Raj, Jeeva S. Chelladhurai, Vinod Singh, Vinod kumar Singh, Jeeva Chelladhurai, Pethuru Raj Chelliah
Book Image

Learning Docker

By: Pethuru Raj, Jeeva S. Chelladhurai, Vinod Singh, Vinod kumar Singh, Jeeva Chelladhurai, Pethuru Raj Chelliah

Overview of this book

Table of Contents (18 chapters)
Learning Docker
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 3. Building Images

In the previous chapter, we explained the image and container handling, and its housekeeping techniques and tips to you in detail. In addition to that, we also have explained the standard procedure for installing any 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 earlier ones, and it is in this chapter to clearly describe how the Docker images are built using Dockerfile, which is the standard way to bring forth the highly usable Docker images. Leveraging Dockerfile is the most competent way to build powerful images for the software development community.

We will cover the following topics in this chapter:

  • Docker's integrated image building system

  • Quick overview of the Dockerfile's syntax

  • Dockerfile build instructions

  • How Docker stores images