Docker implemented in around 100 lines of bash.
The following packages are needed to run bocker.
util-linux >= 2.25.2
coreutils >= 7.5
Because most distributions do not ship a new enough version of util-linux you will probably need to grab the sources from here and compile it yourself.
Additionally your system will need to be configured with the following:
A btrfs filesystem mounted under /var/bocker
A network bridge called bridge0 and an IP of 10.0.0.1/24
IP forwarding enabled in /proc/sys/net/ipv4/ip_forward
A firewall routing traffic from bridge0 to a physical interface.
For ease of use a Vagrantfile is included which will build the needed environment.
Even if you meet the above prerequisites you probably still want to run bocker in a virtual machine. Bocker runs as root and among other things needs to make changes to your network interfaces, routing table, and firewall rules. I can make no guarantees that it won’t trash your system.
$ bocker pull