Virtual Confine Testbed can be installed via Docker. Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications. Currently, Docker containers are based on lxc. In Addition to lxc containers, Dockers have its own network stack and layered file system. All containers share the same kernel but their address space is isolated from each other.
Tested Docker version 1.5.0, build a8a31ef
In the host machine, You need to install required packages to populate /dev/kvm and /dev/fuse device files.
git clone https://github.com/erenyagdiran/vct-docker.git cd vct-docker ./build_vct
build_vct is equivalent of
docker build -t vct /vct
After building is complete, You can run vct system
docker run --privileged -p 80:80 -i -t --name vct vct
This will start the vct system and after initialization complete, you can go http://host_ip:80 to login the system
If you kill the container when it is running, You will lose your persistent data. You have to start/stop container in order to keep the persistent data.
docker start vct
docker stop vct
docker exec -i -t vct /bin/bash