Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 567 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 567 Bytes

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.