Skip to content
/ Bocker Public

A simple container based on linux namespaces and cgroups

Notifications You must be signed in to change notification settings

baarayy/Bocker

Repository files navigation

Bocker

Dummy logo

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

Installation

To run the project, follow these steps:

  1. Clone the repository:

    git clone git@github.com:baarayy/Bocker.git
  2. Navigate to the project directory:

    cd Bocker
  3. Network

    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
  1. Build the project using make:

    make all

References

About

A simple container based on linux namespaces and cgroups

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published