OPERATING SYSTEMSOS Linux

Barco: Linux containers from scratch in C, with Luca Cavallin | KubeFM podcast

This episode is sponsored by Learnk8s: https://learnk8s.io

The best way to learn something is to break it or to build it yourself.

And that’s precisely what Luca did to understand how Linux containers (and Docker) work: he built his own, Barco.

In this episode of KubeFM, you will learn:

– Why Linux containers “don’t exist” but are the product of several Linux features you can put together and configure properly to get what we know as containers.
– How Kernel features such as cgroups and namespaces isolate a process.
– How you can use seccomp and capabilities to secure the container.
– How to make the right syscall from C to build your own container engine.

Also, Luca explained how he learned how to build Barco from scratch, detailing the (struggle) to find reputable sources and (lack of) respected books.

Find all the links and info for this episode here: https://kube.fm/barco-luca

===
Interested in sponsoring a KubeFM episode? https://kube.fm/sponsorships
===

CHAPTERS
=========

00:00 Intro
00:30 Sponsor
01:30 Top 3 Kubernetes tools
03:25 DevOps vs Platform Engineering
04:22 Luca’s background
07:41 Keeping up with the news
10:15 Luca’s advice
11:44 Linux containers don’t exist
14:38 Docker
16:18 Writing your own Docker
19:18 Barco
25:27 Running bash in Barco
28:12 Researching documentation
32:55 Choosing C in 2024
35:15 What’s next for Barco
36:37 Reaction from the community
40:35 Side project and giving back
44:16 Naming Barco
47:03 Cycling, Guitars and cats
49:09 What’s next for Luca?
50:40 Getting in touch
51:25 Outro

LISTEN ON
=========
– Apple Podcast https://kube.fm/apple
– Spotify https://kube.fm/spotify
– Amazon Music https://kube.fm/amazon
– Overcast https://kube.fm/overcast
– Pocket casts https://kube.fm/pocket-casts
– Deezer https://kube.fm/deezer

source

by KubeFM

linux foundation