What is Union Mounts and how it works? Explained with Images!

DevOps

YOUR COSMETIC CARE STARTS HERE

Find the Best Cosmetic Hospitals

Trusted • Curated • Easy

Looking for the right place for a cosmetic procedure? Explore top cosmetic hospitals in one place and choose with confidence.

“Small steps lead to big changes — today is a perfect day to begin.”

Explore Cosmetic Hospitals Compare hospitals, services & options quickly.

✓ Shortlist providers • ✓ Review options • ✓ Take the next step with confidence

  • Union mount is a type of a filesystem that can create an illusion of merging contents of several directories into one without modifying its original (physical) sources.
  • Union mount or union filesystem is not the filesystem type, but rather a concept with many implementations.
  • UnionFS, aufs, OverlayFS, ZFS, and Btrfs are different implementations of union file systems.
  • Docker only needs to create thin layer on top of the image and rest of it can be shared between all the containers.
  • Union filesystem also provides isolation, because containers have read-only access to the shared image layers.
  • LowerDir: Is the directory with read-only image layers separated by colons
  • MergedDir: Merged view of all the layers from image and container
  • UpperDir: Read-write layer where changes are written
  • WorkDir: Working directory used by Linux OverlayFS to prepare merged view