[openstack-dev] [Magnum]Cache docker images
qiaoliyong at gmail.com
Tue Apr 19 08:26:26 UTC 2016
hi hello again
I believe you are talking about this bp
then ignore my previous reply, that may another topic to solve network
I think you are on the right way to build docker images but this image
could only bootstrap by cloud-init, without cloud-init
the container image tar file are not loaded at all, but seems this may
not be the best way.
I'v suggest that may be the best way is we pull docker images while
building atomic-image. Per my understanding, the
image build process is we mount the image to read/write mode to some tmp
directory and chroot to to that dircetory,
we can do some custome operation there.
I can do a try on the build progress(guess rpm-ostree should support
some hook scripts)
On 2016年04月19日 11:41, Eli Qiao wrote:
> I think there were some discussion already , check
> https://blueprints.launchpad.net/magnum/+spec/allow-user-softwareconfig <https://blueprints.launchpad.net/magnum/+spec/allow-user-softwareconfig>
> On 2016年04月19日 10:57, 王华 wrote:
>> Hi all,
>> We want to eliminate pulling docker images over the Internet on bay
>> provisioning. There are two problems of this approach:
>> 1. Pulling docker images over the Internet is slow and fragile.
>> 2. Some clouds don't have external Internet access.
>> It is suggested to build all the required images into the cloud
>> images to resolved the issue.
>> Here is a solution:
>> 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.
>> Any advice for this solution or any better solution?
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> Best Regards, Eli Qiao (乔立勇)
> Intel OTC China
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
Best Regards, Eli Qiao (乔立勇)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev