Discussion
Consider the following statements about container images.
1. Layers are immutable once built.
2. A running container adds a writable layer on top.
3. Changes made in a running container persist in the image.
Answer: C
Correct answer: 1 and 2 only
Statements 1 and 2 are correct: built layers are immutable, and a running container gets a thin writable layer above them through copy-on-write. Statement 3 is wrong - that writable layer belongs to the container instance and is discarded when it is removed. Changes become part of an image only through a deliberate build or commit.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development