Bocker is a simple container written in Go.
It makes use of go to create isolated namespaces and chroot the default container directory to an isolated filesystem by copying /proc directory
To run the project, follow these steps:
-
Clone the repository:
git clone git@github.com:baarayy/Bocker.git
-
Navigate to the project directory:
cd Bocker
-
set DNS resolver in container:
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
set IP forward in host:
sysctl -w net.ipv4.ip_forward=1
-
Build the project using
make
:make all