Skip to content

oggythebuilder/Baby_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

🐳 Baby Docker

Baby Docker Banner

A lightweight, educational container engine written in Bash. > Built to demystify Docker by using native Linux primitives.

License: MIT Bash Platform


📖 About The Project

"Baby Docker" is not a replacement for Docker. It is a learning tool designed to show you what happens under the hood when you run docker run.

It implements a container runtime using three core Linux technologies:

  1. Namespaces (unshare): To isolate processes (PID), hostnames (UTS), and mount points.
  2. Chroot: To restrict the file system view to a specific directory.
  3. Networking: Automatically injects DNS so your container can access the internet.

🚀 Installation

Prerequisites

  • A Linux Operating System (Ubuntu, Debian, Arch, Fedora).
  • wget and tar (Pre-installed on most systems).
  • Root privileges (sudo).

Quick Install

Clone the repository and run the installer script.

git clone [https://github.com/oggythebuilder/Baby_docker.git](https://github.com/oggythebuilder/Baby_docker.git)
cd Baby_docker
chmod +x install.sh
sudo ./install.sh

About

Baby Docker proves that a container is actually just a normal folder on your computer that has been “tricked” by the Linux Kernel into thinking it is an entire operating system.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages