A complete set of instructions that are used to pass on the Docker to help in the image build-up is known as Dockerfile. It can be also considered as a text document having all the necessary commands which are required for creating a Docker image. An automated build can also be created which executes various command lines one after the other.

BY Best Interview Question ON 06 Oct 2019