01Chapter 1: Why we isolate workloadsThis chapter assumes you can use a Linux or macOS command line. You should know what a process is and what an operating system kernel does. You should also be comfortable with files, directories, and permissions.3 min read
02Chapter 2: Virtual machines: a whole computer in softwareThis chapter assumes you can use a Linux or macOS command line, know what an operating system kernel does, and know what a process is. It covers virtual machines (VMs) as the baseline that containers are later compared against.3 min read
03Chapter 3: Hypervisors and how they share hardwareThis chapter assumes you know what a kernel does, what a process is, and how to use a Linux or macOS command line. The previous chapter introduced a virtual machine (VM) as a whole computer in software. Here you will see what makes that possible: the hypervisor.3 min read
04Chapter 4: Containers: isolated processes, not small computersThis chapter assumes you can use a Linux or macOS shell and know what a process and a kernel are. It also assumes Docker is installed. Namespaces, cgroups, and image layers get their own chapters, so here you only need the overall model.3 min read
05Chapter 5: The shared kernel and what it impliesThis chapter assumes you know what a process is, what a kernel does, and how to use a Linux or macOS command line. It builds on the earlier chapters about containers as isolated processes.3 min read
06Chapter 6: Namespaces: what a process can seeThis chapter explains Linux namespaces, the kernel feature that gives a container its own view of the system. It assumes you can use a Linux or macOS command line, know what a process is, and understand that the kernel manages processes, memory, and devices for every program on the host.2 min read
07Chapter 7: Control groups: what a process can useThis chapter assumes you know what a process is, can use a Linux or macOS shell, and have read the previous chapter on namespaces. Namespaces limit what a process can see. Control groups, called cgroups, limit what it can use.2 min read
08Chapter 8: Images and layers: how containers are packagedThis chapter assumes you can use a Linux or macOS command line, know what a process and a filesystem are, and have Docker installed. You have already seen that a container is an isolated process. This chapter covers what that process runs from: the image.3 min read
09Chapter 9: Runtimes and the OCI standardsThis chapter assumes you know what a process is, what a kernel does, and how namespaces, cgroups, and image layers work. Those three pieces are only kernel features and files. A container runtime combines them into a running container.3 min read
10Chapter 10: Containers and VMs side by sideThis chapter assumes you know what a process and a kernel are, and that you have seen the earlier chapters on hypervisors, namespaces, cgroups, and image layers. Here we put the two models next to each other and compare them on four points: isolation, overhead, startup time, and portability.3 min read
11Chapter 11: Why containers on macOS and Windows run in a Linux VMThis chapter assumes you know what a kernel is, how a process differs from a program, and the basics of namespaces and cgroups from earlier chapters. It also assumes you can use a terminal on macOS or Windows.3 min read
12Chapter 12: Isolation strength and security boundariesThis chapter assumes you know that containers share the host kernel and that namespaces and cgroups restrict what a process sees and uses. Here we look at what that means for security: where the boundary between workloads sits, and how strong it is.3 min read
13Chapter 13: Hybrid approaches: microVMs and sandboxed runtimesThis chapter assumes you know what a kernel is, how namespaces and cgroups isolate a container, and why a container shares the host kernel while a VM does not. Earlier chapters covered both. Here we look at designs that sit between the two.3 min read
14Chapter 14: Choosing between containers and VMsThis chapter assumes you know the earlier material: a container is an isolated process that shares the host kernel, and a VM runs its own guest kernel on virtualized hardware. It also assumes you are comfortable with the basic security trade-offs between the two. Here you turn that knowledge into a 3 min read