diskimage-builder/doc/source/docker.md
Gregory Haynes c4bbb6f3bc Create docs site containing element READMEs
We currently do not have the ability to create a docs site which
outlines all the elements.

Change-Id: I77ccf61e0c4b1509b3e7ce9b8f15ea5ccfd50d9b
2015-02-10 11:45:35 -08:00

515 B

Creating Docker Images

disk-image-create can be used to create a tarball suitable to be imported as a docker image. To do this you can change the output of disk-image-create to tar with the -t flag and run docker e.g.

disk-image-create -o image -t tar fedora selinux-permissive

Assuming you have docker running and have permission to use it, the tarball can be imported into docker and run.

docker import - image:test1 < image.tar
docker  run -t -i  image:test1 /bin/bash