Dockerfile | Guide to How Dockerfile works in Docker? with ...
www.educba.com › dockerfileNote: In each step, there is one intermediate container and an image is getting created.It uses cache as well to make build faster as seen in step 2. If we run the build again after making changes to any instruction or adding a new instruction to the Dockerfile, then docker daemon only creates a new container and image for the instruction which is altered or for newly added instruction.