Writing your own container in Python!

Shubham Sharma (~shubham1172)


Description:

"What I cannot create, I do not understand" - Richard Feynman

Containers are ubiquitous. We use container software like Dockers and Linux Containers (LXC) every day without knowing what goes inside that black box. In this talk, we will explore the principles of containerization and how it functions in the Linux ecosystem. We will build a mini container in Python on top of Linux. We will learn how modern containers function and how we can realize the same functionalities in our mini container.

Here is how the talk is structured:

  • Containers 101 (~5 mins)
  • Live coding session: writing a container in Python! (~12 mins)
  • A look at fundamental concepts: namespaces, chroot, cgroups (~5 mins)
  • Comparison with a modern-day containers system - Docker (~3 mins)

Prerequisites:

Basic familiarity with Linux and any container software (eg. Docker)

Content URLs:

Speaker Info:

I am a Software Engineer at Microsoft and I write Python scripts at every opportunity that I get. I am a strong advocate for Python as a household scripting language and have been using it for quite some time now. Computers have always fascinated me and so have the brilliant people who brought computers to where they are today. I have tinkered with various domains ranging from software development to machine learning but my current focus is getting amazed by distributed systems.

Section: Developer tools and automation
Type: Talks
Target Audience: Beginner
Last Updated: