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
- About the speaker/talk
- Container 101 - Introduction to containers
- Writing a Pythonian container from scratch (almost)
- Containerization with Linux
- Modern Containers
- 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.
Prerequisites:
Basic familiarity with Linux is expected.
Content URLs:
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