What is the difference between overlay2, devicemapper, and btrfs storage drivers in Docker?

Docker Fundamentals Hard

Docker Fundamentals — Hard

What is the difference between overlay2, devicemapper, and btrfs storage drivers in Docker?

Key points

  • overlay2: union filesystem with CoW via hardlinks
  • devicemapper: block-level storage with thin provisioning
  • btrfs: native CoW filesystem with snapshots
  • Each has unique performance, stability, and system requirements

Ready to go further?

Related questions