<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">why not just allow a prefix to be added to the container name?<br>
<br>
you can then have a container named:<br>
foo/mycontainer<br>
<br>
and the prefix could be set to mylocalserver.org:8080:<br>
mylocalserver.org:8080/foo/mycontainer<br>
<br>
Then if the site needs local only containers, they can set up a local repo. Be it a stand alone docker registry, the docker datacenter product, artifactory with the docker plugin, etc.<br>
<br>
Thanks,<br>
Kevin <br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF598775"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Íõ»ª [wanghua.humble@gmail.com]<br>
<b>Sent:</b> Monday, April 18, 2016 7:57 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> [openstack-dev] [Magnum]Cache docker images<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Hi all,
<div><br>
</div>
<div>
<div>We want to eliminate pulling docker images over the Internet on bay provisioning. There are two problems of this approach:</div>
<div>1. Pulling docker images over the Internet is slow and fragile.</div>
<div>2. Some clouds don't have external Internet access.</div>
<div><br>
</div>
<div>It is suggested to build all the required images into the cloud images to resolved the issue.</div>
</div>
<div><br>
</div>
<div>Here is a solution:</div>
<div>We export the docker images as tar files, and put the tar files into a dir in the image when we build the image. And we add scripts to load the tar files in cloud-init, so that we don't need to download the docker images.</div>
<div><br>
</div>
<div>Any advice for this solution or any better solution?</div>
<div><br>
</div>
<div>Regards,</div>
<div>Wanghua</div>
</div>
</div>
</div>
</div>
</body>
</html>