I wrote a small container runtime in Golang named Minict, mainly to learn Go (as it is not the language I use on a daily basis) and the behind-the-scenes of containers.
I know that this isn't directly related to Docker but I've seen people post their work here before when it relates to docker/containers in general, and thought many here would find it interesting.
It is purposely written so that anyone who is interested on how Docker and other container platforms work behind the scenes can read the code quite easily.
Source code link: [https://github.com/Ripolak/minict](https://github.com/Ripolak/minict)
I'm of course open to any suggestions/feedback.
1 thought on “Minict – a minimal container runtime written in Go, mainly for learning and showing how products like Docker work behind the scenes.”
Oh cool! This looks like (and reminds me of) a talk I just watched recently from Liz Rice who demonstrated a simpler version of this, coding it all live in go. What she demonstrated mostly just encapsulated some processes and file system stuff. After all, it’s just “namespaces and cgroups!” I still don’t fully understand it but this definitely made it _much_ more intuitive.
Check it out here: https://youtu.be/Utf-A4rODH8