-
Notifications
You must be signed in to change notification settings - Fork 79
Containers Resources
Marc Paquette edited this page Dec 20, 2023
·
2 revisions
Thinking of containers as "lightweight virtual machines" can be misleading. This material helps understanding how containerisation works on Linux and how it compares to other (OS-level or hardware) virtualisation solutions.
"The greatest trick containers ever pulled was convincing the world they existed."
- Cgroups, namespaces, and beyond: what are containers made from? by Jérôme Petazzoni
- Setting the Record Straight: containers vs. Zones vs. Jails vs. VMs by Jesse Frazelle
- What even is a container: namespaces and cgroups by Julia Evans
It's actually not that hard! A Linux process can be isolated with a few system calls, even from the shell.
- Build Your Own Container Using Less than 100 Lines of Go by Julian Friedman (ex-Garden PM and engineer)
- Containers From Scratch by Liz Rice (code)
- DIY Linux Containers by Georgi Sabev (Garden engineer)
More details on the technologies underlying Linux containers.
- The Linux Namespaces series by Ed King (ex-Garden engineer)
- Namespaces in Operation by Michael Kerrisk
- The
namespaces(7)
man page
-
Introduction to Control Groups from
0xAX/linux-insides
- The
cgroups(7)
man page - Linux Kernel documentation on CGroups
- Visualizing Docker Containers and Images by Daniel Eklund
- Container FS: Adapt or Die by Claudia Beresford & Tiago Scolari (both ex-Garden engineers) - this also provides some interesting historical context on Garden!
- Linux Kernel documentation on Overlay
- The Route to Rootless Containers: a blog post by Ed King and a talk by Ed King and Julian Friedman
- The Route to Rootless Containers: a blog post by Claudia Beresford
- Getting Towards Real Sandbox Containers by Jesse Frazelle
- The Rootless Containers website, maintained by Aleksa Sarai, Akihiro Suda and Giuseppe Scrivano
- Don’t Fear the Subreaper by William Martin (ex-Garden engineer)
- The Linux Kernel documentation
- man7 by Michael Kerrisk
0xAX/linux-insides
The Onboarding Tracker is a way to practice what you have learned about Garden and containers. Use garden-onboarding-tracker to populate a Pivotal Tracker project with Garden onboarding stories.
- Container Root Filesystems in Production: a blog post by Claudia Beresford
- Why is OverlayFS Slow Now?: a blog post by Claudia Beresford
- Envoy Proxy Deadlocked My Cloud: a blog post by Claudia Beresford
- A Better Way to Split the Cake: CPU Entitlements: a blog post by Julia Nedyalkova
- CPU Entitlements in Cloud Foundry: a video tutorial by Mario Nitchev
- SystemDon't: Killing It Softly With Cgroups: a blog post by Georgi Sabev
- The Garden Team and the Strange Case of a Connection Being Reset: a blog post by Danail Branekov