No description, website, or topics provided.
Clone or download
dhiltgen Initial implementation
This simple tool will take almost any virtual disk and quickly generate
a container for it.  It can generate a "full" image, or if you specify
an existing base docker image, it will attempt to create a new image
layer containing only the diffrences between the virtual disk and the
docker image.
Latest commit 31ac4ea Apr 17, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Apr 16, 2015
README.md Initial implementation Apr 17, 2015
v2c.py Initial implementation Apr 17, 2015

README.md

Virtual-2-Container

This simple script will take a virtual disk and convert it into a docker container. It has two modes of operating. It can create a full image based purely on the content of the virtual disk, or it can create a layer on top of an existing image, trying to avoid duplication. It uses rsync and file checksumming to detect files that are identical between the base image and the virtual disk content.

If you've got a single, simple app, you can then run it directly with docker from the commandline. If the app contains multiple services, then you can use Compose and/or multiple Dockerfiles to define them for quick instantiation.

Dependencies

In order to use this tool, you'll have to install docker, as well as libguestfs-tools