Build Your Own Docker: Introduction [0/2]

This is the introductory article in a series where we’ll build a toy Docker clone in Go.

Next article: Executing a process

Sections in this article:


Docker is probably the most popular way to package and run applications in existence today. If you’ve used Docker, it’s likely that a lot of its inner workings are a mystery to you.

➜ docker run alpine echo "hello world!"
hello world!

^ What exactly happens when you run this? That’s the question this series will help you answer. We’ll walk through how Docker works, by attempting to build a small Docker clone ourselves.

What we’ll build

In this course, we’ll build a toy Docker clone that’s capable of pulling an image from and executing a command in it.

Along the way we’ll learn about:

Ready for the first lesson?