Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

How Docker mirroring works


May 22, 2021 Docker From entry to practice



How does Docker mirroring implement incremental modification and maintenance? Each mirror consists of many layers, and Docker uses Union FS to combine these different layers into one mirror.

Usually Union FS has two uses, one is to implement the use of LVM, RAID to hang multiple disks into the same directory, and the other more commonly is to union a read-only branch with a writeable branch, and Live CD is based on this method to allow users to write on it on the same basis as the mirror. Docker's containers built on AUFS take advantage of a similar principle.