advancedTop 100 Interview Questions
What is copy-on-write, and how does it apply to containers?
Copy-on-write means a container doesn't copy the entire image filesystem at startup; instead it adds one thin writable layer on top of the shared read-only image layers, and only copies a file up to that writable layer the moment it's modified. This is why container startup is fast and many containers can share one image's layers efficiently.
This is a Pro chapter
Sign in, then upgrade to Pro or Power to unlock this and the full DevOps Mastery library.
What is copy-on-write, and how does it apply to containers?