C/C++ container implementation
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Antoine f9b1f928d8 add reference link to read il y a 1 an
bin Initial commit, setup project il y a 1 an
busybox build container namespace require root il y a 1 an
doc add reference link to read il y a 1 an
obj Initial commit, setup project il y a 1 an
src made container running as non root il y a 1 an
.editorconfig Initial commit, setup project il y a 1 an
.gitignore add reference link to read il y a 1 an
Makefile Add makefile target to untar rootfs il y a 1 an
alpine-minirootfs-3.12.0-x86.tar.gz build container namespace require root il y a 1 an
doxygen.conf Initial commit, setup project il y a 1 an
pandoc-config.yaml Initial commit, setup project il y a 1 an
readme.md add reference link to read il y a 1 an

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