© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
S. M. JainLinux Containers and Virtualizationhttps://doi.org/10.1007/978-1-4842-9768-1_5

5. Layered File Systems

Shashank Mohan Jain1  
(1)
Bengaluru, India
 

In Chapters 3 and 4, we addressed the topics of process isolation via Linux namespaces and resource control for individual processes via cgroups, respectively. Now we delve into the topic of layered file systems, which constitute the third building block of the Linux container, after namespaces and cgroups. This chapter describes how layered files systems enable file sharing on the host and how this helps in running multiple containers on the host.

Let’s start by discussing what a file system is.

A File ...

Get Linux Containers and Virtualization: Utilizing Rust for Linux Containers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.