Learn to create Dockerfile with Dockerfile example

In this tutorial, we will learn about dockerfile, all its parameters/commands with dockerfile example. Dockerfile is a text file that contains list of commands that are used to build a docker image automatically. Basically a docker file acts as set of instructions that are needed to build a docker image.