Docker contains 3 basic concepts
Image
Container
Repository
Only after knowing the above 3 concepts will we get a deeper understanding of the lifecyle of docker.