Fundraising September 15, 2024 – October 1, 2024 About fundraising

How Containers Work

  • Main
  • How Containers Work

How Containers Work

Julia Evans
5.0 / 5.0
0 comments
How much do you like this book?
What’s the quality of the file?
Download the book for quality assessment
What’s the quality of the downloaded files?
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!”
Year:
2020
Publisher:
wizard zines
Language:
english
Pages:
24
File:
PDF, 10.05 MB
IPFS:
CID , CID Blake2b
english, 2020
Read Online
Conversion to is in progress
Conversion to is failed

Most frequently terms