diskimage-builder/elements/docker
Monty Taylor 4bddca2573 Add base element for using docker as image base
Docker can export root filesystems, which is what we want out of root
elements. Make a very simple passthrough element that will grab a docker
image and export it into a root filesystem.

Change-Id: Ie1e2d5dd5a61558f100e02c953b18d697a8fe8a2
2015-07-19 10:23:34 +00:00
..
extra-data.d Add base element for using docker as image base 2015-07-19 10:23:34 +00:00
root.d Add base element for using docker as image base 2015-07-19 10:23:34 +00:00
element-deps Add base element for using docker as image base 2015-07-19 10:23:34 +00:00
element-provides Add base element for using docker as image base 2015-07-19 10:23:34 +00:00
README.rst Add base element for using docker as image base 2015-07-19 10:23:34 +00:00

======
docker
======

Base element for creating images from docker containers.

This element is incomplete by itself, you'll want to add additional elements,
such as dpkg or yum to get richer features. At its heart, this element simply
exports a root tarball from a named docker container so that other
diskimage-builder elements can build on top of it.

The variables `DISTRO_NAME` and `DIB_RELEASE` will be used to decide which
docker image to pull, and are required for most other elements. Additionally,
the `DIB_DOCKER_IMAGE` environment variable can be set in addition to
`DISTRO_NAME` and `DIB_RELEASE` if a different docker image is desired.