What is the Copy-on-Write (CoW) strategy used by Docker’s storage drivers and how does it affect performance?

Docker Fundamentals Hard

Docker Fundamentals — Hard

What is the Copy-on-Write (CoW) strategy used by Docker’s storage drivers and how does it affect performance?

Key points

  • CoW minimizes storage by sharing read-only image layers
  • Only modified files are copied to the container's writable layer
  • Introduces overhead for first-write operations
  • Saves space by not duplicating unchanged files

Ready to go further?

Related questions