A mini linux container.
- Copy on write filesystem (aufs)
- Namespaces (clone)
- Cgroup
- Network Settings
- ...
prerequisite
- kernel support aufs
- cgroup vfs mounted
git clone https://github.com/kenshin54/crane.git
cd crane
make
crane --name test --image /data/rootfs --bridge=br0 --network="192.168.1.5/[email protected]#192.168.1.255" --memory=200m --cpuset=0-1
The part of network code copy from lxc project.
Copyright (c) 2014 kenshin54. Distributed under the MIT License. See LICENSE.txt for further details.