image.rst 981 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. :title: Images
  2. :description: Definition of an image
  3. :keywords: containers, lxc, concepts, explanation, image, container
  4. .. _image_def:
  5. Image
  6. =====
  7. .. image:: images/docker-filesystems-debian.png
  8. In Docker terminology, a read-only :ref:`layer_def` is called an
  9. **image**. An image never changes.
  10. Since Docker uses a :ref:`ufs_def`, the processes think the whole file
  11. system is mounted read-write. But all the changes go to the top-most
  12. writeable layer, and underneath, the original file in the read-only
  13. image is unchanged. Since images don't change, images do not have state.
  14. .. image:: images/docker-filesystems-debianrw.png
  15. .. _parent_image_def:
  16. Parent Image
  17. ............
  18. .. image:: images/docker-filesystems-multilayer.png
  19. Each image may depend on one more image which forms the layer beneath
  20. it. We sometimes say that the lower image is the **parent** of the
  21. upper image.
  22. .. _base_image_def:
  23. Base Image
  24. ..........
  25. An image that has no parent is a **base image**.