[Container-tools] Including docker images in ADB Vagrant box

Lalatendu Mohanty lmohanty at redhat.com
Thu Oct 29 14:33:36 UTC 2015


On 10/29/2015 07:54 PM, Vaclav Pavlin wrote:
> Hey, I guess we are talking about CentOS Koji, right?

yes, thats right.
> I guess it has access to CentOS infrastructure (at least to some of 
> it). Can we rather setup a Docker registry in CentOS infra which will 
> serve solely for feeding images to Vagrant builds?

Ian is testing the same idea on a local install of image-factory (for 
others it is backend of  koji which does the build) and checking if it 
works.

> It should be quite easy to preload such registry instance with images 
> we want in the Vagrant box. And it would make much more sense than to 
> build an image as suggested in your repo.

yes, I agree.
>
> I think we will get into same problems on the Fedora side if we decide 
> something like this and rebuilding all images which should be included 
> doesn't seem to be the best solution.
>
> Cheers,
> Vašek
>
> On Thu, Oct 29, 2015 at 2:04 PM, Lalatendu Mohanty 
> <lmohanty at redhat.com <mailto:lmohanty at redhat.com>> wrote:
>
>     Hi,
>
>     One of the thing we want to do with ADB (Atomic Developer Bundle)
>     is to pre-load the vagrant box with some docker images (e.g.
>     OpenShift docker image).
>
>     I have spent some time on this and I found this to be more tricky
>     then I thought. Here are the details.
>
>     * We use koji to build the Vagrant box from a kickstart file and
>     koji does not have access to internet for some valid reasons.
>     Hence we cant do "docker pull" during the build process as it does
>     not have access to internet.
>
>     * So as a workaround we thought of packaging the docker images in
>     a RPM and use the RPM in the kickstart file to bake it in to the
>     Vagrant box.
>
>     Here is the poc git repo for that :
>     https://github.com/LalatenduMohanty/rpmspec-for-docker-images
>
>     Comments/suggestion are welcome.
>
>     Let me know if you have a better idea to build Vagrant boxes with
>     docker images pre-loaded in koji.
>
>     Thanks,
>     Lala
>
>     _______________________________________________
>     Container-tools mailing list
>     Container-tools at redhat.com <mailto:Container-tools at redhat.com>
>     https://www.redhat.com/mailman/listinfo/container-tools
>
>
>
>
> -- 
> Architect - Senior Software Engineer
> Developer Experience
> Brno, Czech Republic
> Phone: +420 739 666 824

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/container-tools/attachments/20151029/dde68eb4/attachment.htm>


More information about the Container-tools mailing list