Skip to content

cesarvr/container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Container

This is the sample code from the How to create your own containers blog post.

To run this example just need g++, gcc, make and of course Linux 2.5.+.

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

No packages published