title: Does docker reuse images when multiple containers run on the same host?
body: <p>My understanding is that Docker creates an image layer at every stage of a dockerfile.</p>
  
  <p>If I have X containers running on the same machine (where X >=2) and every container has a common underlying image layer (ie. debian), will docker keep only one copy of the base image on that machine, or does it have multiple copies for each container?</p>
  
  <p>Is there a point this breaks down, or is it true for every layer in the dockerfile?</p>
  
  <p>How does this work?</p>
  
  <p>Does Kubernetes affect this in any way?</p>