Skip to content

cesarvr/container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Container

This is the sample code for the blog post I wrote on how to create a your own containerization engine (similar to Podman / Docker).

To run this example just need to make sure you have this components:

  • g++
  • gcc
  • make
  • And of course a Linux 2.5.+ or above.
git clone https://github.com/cesarvr/container
cd container 

# run Make 
make 

sudo ./container 

This code creates a container for the bash process, by creating a new process and modifying the namespaces, cgroup rules, etc.

About

Creating your own container in Linux.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors