The Dockerfile contains the instructions for building an image. In general, a Dockerfile has the following Key elements-
** These key elements are not always present. A Dockerfile might contain some other instructions for an efficient image creation and according to the requirement.