<div dir="ltr">Hey, I guess we are talking about CentOS Koji, 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? 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.<div><br></div><div>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.<br><div><br></div><div>Cheers,</div><div>VaĊĦek</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 29, 2015 at 2:04 PM, Lalatendu Mohanty <span dir="ltr"><<a href="mailto:lmohanty@redhat.com" target="_blank">lmohanty@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
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).<br>
<br>
I have spent some time on this and I found this to be more tricky then I thought. Here are the details.<br>
<br>
* 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.<br>
<br>
* 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.<br>
<br>
Here is the poc git repo for that : <a href="https://github.com/LalatenduMohanty/rpmspec-for-docker-images" rel="noreferrer" target="_blank">https://github.com/LalatenduMohanty/rpmspec-for-docker-images</a><br>
<br>
Comments/suggestion are welcome.<br>
<br>
Let me know if you have a better idea to build Vagrant boxes with docker images pre-loaded in koji.<br>
<br>
Thanks,<br>
Lala<br>
<br>
_______________________________________________<br>
Container-tools mailing list<br>
<a href="mailto:Container-tools@redhat.com" target="_blank">Container-tools@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/container-tools" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/container-tools</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Architect - Senior Software Engineer<br>Developer Experience<br>Brno, Czech Republic<br>Phone: +420 739 666 824<br></div></div></div></div>
</div>