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 (LXCs) 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.

Outline

  1. About the speaker/talk
  2. Container 101 - Introduction to containers
  3. Writing a Pythonian container from scratch (almost)
  4. Containerization with Linux
  5. Modern Containers
  6. Road Ahead

Target Audience

  • People who don't know what containers are - this can be a starting point of your container journey.
  • People who use containers without knowing the innards - this can enhance your understanding.

Technologies used

  • Python
    • We'll mostly use the os.system interface to make system calls
    • External library: unshare

Note: I will code the mini container live and talk simultaneously to explain ideas and concepts. I will also use a presentation.

The talk is inspired from here and there.

Prerequisites:

Basic familiarity with Linux is expected.

Content URLs:

Presentation

Speaker Info:

I am a budding computer engineer and I have been using Python for about 3 years. Computers have always fascinated me and so have the brilliant people who brought computers to where they are today. I have worked in various domains ranging from software development to machine learning.

  • I am pursuing my undergraduate degree at Vellore Institute of Technology, Chennai.
  • Currently interning at Microsoft, India

Speaker Links:

GitHub ; LinkedIn

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