C/C++ container implementation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Antoine f9b1f928d8 add reference link to read 9 mesi fa
bin Initial commit, setup project 10 mesi fa
busybox build container namespace require root 9 mesi fa
doc add reference link to read 9 mesi fa
obj Initial commit, setup project 10 mesi fa
src made container running as non root 9 mesi fa
.editorconfig Initial commit, setup project 10 mesi fa
.gitignore add reference link to read 9 mesi fa
Makefile Add makefile target to untar rootfs 9 mesi fa
alpine-minirootfs-3.12.0-x86.tar.gz build container namespace require root 9 mesi fa
doxygen.conf Initial commit, setup project 10 mesi fa
pandoc-config.yaml Initial commit, setup project 10 mesi fa
readme.md add reference link to read 9 mesi fa

readme.md

C container implementation

prerequisite : make busybox_setup permit to extract rootfs into ./busybox folder

build

classique build

make release

build with debug

make debug

run

classique run

./bin/out.ex /bin/ls

run interactively

./bin/out.ex -i /bin/sh

this code and repository is inspired by these link :

http://tejom.github.io/c/linux/containers/docker/2016/10/04/containers-from-scratch-pt1.html

https://lk4d4.darth.io/posts/unpriv3/

https://blog.lizzie.io/linux-containers-in-500-loc.html

Creating containers - Part 1.html

original link http://crosbymichael.com/creating-containers-part-1.html