Skip to content

adevsh/mycontainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mycontainer

mycontainer - a simple container runtime in Go

This is a minimal container runtime built in pure Golang, designed for learning purposes. It demonstrates how container technologies like cgroups, namespaces, OverlayFS, and network isolation work under the hood - without relying on Docker or containerd.


Features

TBD


How It Works

TBD

Getting Started

1. Prerequisites

  • Linux (with OverlayFS and cgroups v1 or v2)
  • Go 1.23+
  • Root permissions (sudo) for namespaces, mounts, etc.

2. Install Base Images

TBD


Learning Goals

This project was built to understand:

  • How containers work without Docker
  • Linux kernel primitives: namespaces, cgroups, veth pairs
  • Filesystem isolation using OverlayFS
  • Minimal container orchestration and lifecycle

About

mycontainer - a simple container runtime in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages