F21 Self Contained Change: Docker Cloud Image

Jaroslav Reznik jreznik at redhat.com
Tue Apr 29 12:35:55 UTC 2014

= Proposed Self Contained Change: Docker Cloud Image =

Change owner(s): Cloud SIG / Sandro Mathys <red at fedoraproject.org>

New Fedora product: Fedora Docker Cloud Image - Docker host ready to go. 

== Detailed Description ==
Fedora Cloud agreed to make a base image plus several tailored to specific 
purposes. This is one of the tailored ones — Docker host ready to go. While 
basically that simply means only just adding docker-io to the base image, this 
is (also) intended to be our response to CoreOS. Therefore, depending on 
further discussion and user input, we might also add etcd [1] and fleet [2] to 
the mix.

Furthermore, the Cloud SIG considers this their most radical image, riding the 
very front of the leading edge. (Yeehaw!) Several approaches (read: bonus 
objectives) are under consideration but not crucial to the product itself: 

* Fedora Atomic Initiative [3] (aka rpm-ostree) to allow for atomic updates. 
We might further choose to remove yum/dnf from the image in favor of ostree.
* Replace cloud-init with min-metadata-service, CoreOS' cloud-init or other 
alternatives. We'd like to find a leaner solution (read: less Requires) and 
one that is better (or easier) tailored to Fedora.
* Remove Python from this image to reduce the footprint. Note, that this can 
only be achieved if yum/dnf AND cloud-init are replaced by other solutions as 
explained in the above points. 

It should be noted that most of these tools are currently under heavy 
construction but might be ready in time. If they are, it's still up to 
discussion whether they will be included. If they aren't, we might punt them 
to F22 or later. Either way, they won't impact the completion of this change's 
main goals and are only listed for completeness' sake. 

== Scope ==
* Proposal owners: Regarding the core objective, it's just about creating a 
new kickstart file (probably even %include-ing the base one) add some minor 
stuff and make sure it gets built into a new image. Also, for added security, 
we'd like to see Docker and SELinux integrate better. There's already work 
going on about this.
** The bonus objectives (i.e. leading edge approaches) further require:
*** ostree to work with SELinux
*** Creating a filesystem tree for ostree that equals the filesystem of the 
image as created by traditional means
*** min-metadata-service to gain the ability to execute scripts just like 
cloud-init does
*** CoreOS' cloud-init or other alternatives to be packages (and possibly 
tailored) for Fedora

* Other developers: N/A (not a System Wide Change)
* Release engineering: N/A (not a System Wide Change) 
* Policies and guidelines: N/A (not a System Wide Change)

[1] https://github.com/coreos/etcd
[2] https://github.com/coreos/fleet
[3] http://rpm-ostree.cloud.fedoraproject.org/
devel-announce mailing list
devel-announce at lists.fedoraproject.org

More information about the devel mailing list