Machine-translated by Google. Questions are authored in English.
Top

Discussion

A container image is built from

  • A.layers of filesystem changes
  • B.a single monolithic file on disk
  • C.the memory of a running container
  • D.the host operating system itself

Answer: A

Correct answer: layers of filesystem changes

Each instruction in the build produces a layer recording the filesystem changes it made, and the image is those layers stacked by a union filesystem. The arrangement is what makes images cheap to store and transfer: an unchanged layer is neither rebuilt nor re-sent, so an application layer of a few megabytes on a shared base is all that moves between builds.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.