Docker Community Forums

Share and learn in the Docker community.

Will docker build creates intermediate containers also?

(Vishwa83) #1

Hi All,
I have started going through “Dockerfile Reference” documentation and it is mentioned that intermediate images will be created after execution of each statement of Dockerfile and whenver required, these intermediate images will be reused.

I have executed docker build command with few statements in Dockerfile. In the output, I have noticed that after each statement execution of Dockerfile, few statements are printed on the console:
like -------> Running in 3fc4ed6thdj
Is 3fc4ed6thdj an intermediate container? Please clarify.