4bddca2573
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 |
||
---|---|---|
.. | ||
extra-data.d | ||
root.d | ||
element-deps | ||
element-provides | ||
README.rst |
====== 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.