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

Discussion

State whether the following is true or false.
Data written inside a running container survives its removal by default.

  • A.True only at large scales
  • B.False only at small scales
  • C.True
  • D.False

Answer: D

Correct answer: False

The writable layer is part of the container, not of the image, so removing the container removes everything written inside it. Anything that must outlive the container has to be placed on a mounted volume - which is a deliberate design choice rather than an oversight, since it is what makes containers disposable and interchangeable.

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

Post your comment

Please log in or register to post a comment.