<div><span style="color: rgb(67, 67, 67); font-family: Tahoma, Arial; font-size: 12px; line-height: 24px; text-align: justify; background-color: rgba(255, 255, 255, 0.8);">Do you use TencentQQ£ż</span></div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b> "centos-devel-request";<centos-devel-request@centos.org>;</div><div><b>Date: </b> Mon, Mar 17, 2014 08:00 PM</div><div><b>To: </b> "centos-devel"<centos-devel@centos.org>; <wbr></div><div></div><div><b>Subject: </b> CentOS-devel Digest, Vol 109, Issue 16</div></div><div><br></div>Send CentOS-devel mailing list submissions to<br>  centos-devel@centos.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>  http://lists.centos.org/mailman/listinfo/centos-devel<br>or, via email, send a message with subject or body 'help' to<br>   centos-devel-request@centos.org<br><br>You can reach the person managing the list at<br>      centos-devel-owner@centos.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of CentOS-devel digest..."<br><br><br>Today's Topics:<br><br>   1. CentOS Docker images (Chris St. Pierre)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sun, 16 Mar 2014 15:30:04 -0400<br>From: "Chris St. Pierre" <chris.a.st.pierre@gmail.com><br>Subject: [CentOS-devel] CentOS Docker images<br>To: centos-devel@centos.org<br>Message-ID:<br>        <CAGwiO7ZcLRbD=_ZyxecK716NOU3VJ7i69K6vf3zfPmn-_D8-Tw@mail.gmail.com><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>I've volunteered to help maintain official CentOS Docker (<br>https://www.docker.io/) images, and Karanbir suggested I email the list to<br>"thrash out what we need at the infra end to achieve these images."<br><br>Currently, there are 'centos' images available in the top-level Docker<br>registry namespace, but these are maintained by dotcloud.  I think we can<br>do better. :)<br><br>As I see it, there are two ways we can do this:<br><br>1.  Use ami-creator (https://github.com/katzj/ami-creator), or something<br>derived from it, to build Docker images from a kickstart file.  This is how<br>CentOS AMIs are currently built.<br><br>Pros: Consistent with how AMIs are usually built; Kickstart is a known<br>entity.<br><br>Cons: ami-creator won't actually work for us as-is; requires a full<br>kickstart config.<br><br>2.  Use the mkimage-yum.sh script from Docker (<br>https://github.com/dotcloud/docker/blob/master/contrib/mkimage-yum.sh),<br>customized as necessary to produce a minimal base image.<br><br>Pros: Consistent with how Docker images are usually built; we can<br>contribute changes to mkimage-yum.sh upstream to help other Yum-based<br>distros; only requires a yum config.<br><br>Cons: Requires changing a shell script to make changes to the base image,<br>not just a Kickstart.<br><br>Unfortunately, Docker Trusted Build (<br>http://blog.docker.io/2013/11/introducing-trusted-builds/) can't be used<br>for base images, AFAICT.<br><br>In either case, we'll need a git repo to hold the code and configs used to<br>build the images.  If we follow the example of the official CentOS AMIs (<br>http://wiki.centos.org/Cloud/AWS), it should be sufficient to provide a<br>reasonably up-to-date base image ("latest" or "nightly" or similar), and a<br>few recent dot releases.  Of course, once CentOS 7 is released we'll need<br>to do that for both 6 and 7, but that shouldn't be difficult if we do this<br>right.<br><br>Thoughts on process and/or infrastructure?<br><br>-- <br>Chris St. Pierre<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: http://lists.centos.org/pipermail/centos-devel/attachments/20140316/e56a5ee8/attachment-0001.html <br><br>------------------------------<br><br>_______________________________________________<br>CentOS-devel mailing list<br>CentOS-devel@centos.org<br>http://lists.centos.org/mailman/listinfo/centos-devel<br><br><br>End of CentOS-devel Digest, Vol 109, Issue 16<br>*********************************************<br>.<br></div>