Save this video free

ECE344 Fall 2026 (Sec 1) Lec 31 - Containers

Jon Eyolfson · 59:48 · Watch on YouTube

Part of University of Toronto ECE 344. See all 28 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Jon Eyolfson explains containers as ordinary Linux processes with isolated views of system resources, using namespaces and cgroups to provide many virtual-machine benefits while sharing one kernel. He demonstrates process and filesystem isolation, resource limits, layered images with copy-on-write storage, and security controls such as capabilities and seccomp, then contrasts containers with virtual machines.

Key takeaways

Chapters

0:00 Virtual Machines to Containers: Sharing One Kernel
7:00 Running a Container with Docker or Podman
13:00 Linux Namespaces Give Processes Separate System Views
17:30 Nested PIDs, Mount Namespaces, and User-ID Mapping
27:30 Cgroups Control Memory, CPU, and Process Counts
32:00 Testing Memory and Process Limits Safely
36:00 Container Images Are Built from Read-Only Layers
40:00 Writable Container Layers Use Copy-on-Write
43:00 Capabilities Restrict What Container Root Can Do
48:15 Seccomp Filters System Calls with BPF
54:14 When to Choose Containers, and What the Course Image Contains

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

1:41 I >> All righty, welcome back to operating

3:48 systems. We get to talk about containers. You've been using them all semester, right? Docker, everything. You had no idea how it worked. They were magical. Now we can finally explain it. Also, well, no, let's just get into it. So, we we're talking about virtual machines last lecture that ran a whole kernel each. We said it was a good idea for distributing an application. If you distribute an application, all of its libraries at once, then everything's consistent. You can update your main system, not take down anything, and also have the benefits of moving virtual machines across computers and all of that stuff. All you supply someone is a disk image, and they can run everything consistently. The only drawback is, well, it runs as a whole virtual

4:34 machine, and you have to distribute a kernel along with your application. So, that's a lot if you just want to freeze one application's dependencies. So about if we could reuse one kernel to isolate processes from each other instead, much in the way virtual machines let us do, have all that power without having a full virtual machine. So, that's where containers come in. So, on the left, that 's what would happen if we have three virtual machines. Let's just assume these three virtual machines are running three different applications. So, we have a set of processes for each one that have their own kernel. The hypervisor controls the hardware, and these processes are not aware, even remotely aware, that other processes are running on different machines. They can have different

5:22 versions of the same library, all of that fun stuff, right? Any questions about that? Oops, that is the wrong button. So, with containers, it's more like what we're used to. So,

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Jon Eyolfson.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.