Jump to ratings and reviews
Rate this book

How Containers Work!

Rate this book
When you first start using containers, they seem really weird. Is it a process? A virtual machine? What’s a container image? Why isn’t the networking working? I’m on a Mac but it’s somehow running Linux sort of? And now it’s written a million files to my home directory as root? What’s HAPPENING?

And you’re not wrong. Containers seem weird because they ARE really weird. They’re not just one thing, they’re what you get when you glue together 6 different features that were mostly designed to work together but have a bunch of confusing edge cases.

This zine explains EXACTLY what happens when you run a container on your computer. It turns out that there are only a few big ideas you need to understand what’s going on (images! overlay filesystems! capabilities! pivot_root! cgroups! namespaces! seccomp-bpf!).

Once you understand these fundamentals, you’ll be able to go from “um, my container got killed??? why??? help!!!” to “oh, we set the cgroup memory limit too low! I’ll just look up how to adjust it!”

24 pages, ebook

First published April 24, 2020

15 people want to read

About the author

Julia Evans

22 books36 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
11 (73%)
4 stars
4 (26%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Paweł Cisło.
62 reviews8 followers
August 3, 2020
One can read this brief zine in less than an hour while finally getting his head around the idea of containers. Most of the scenarios presented in this e-book shall make the containerization features clear, although the more advanced ones will still require a further read.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.