On Mon, Apr 25, 2016 at 7:11 AM, Michał Rostecki
<michal.roste...@gmail.com> wrote:
>
> Ummm... no?
>
> If you want to upgrade the things in containers, you should just
> rebuild them. You don't do any "yum update" action by hand in some
> middle layer. The newest updated repo metadata come from the base
> image and your layers on top of it are just installing packages as
> usual.
>
> So, the upgrade of python-nova package should come from new metadata
> in base image, and then usual "yum install" in nova layer.

Yes, you still need to build a new image, but having a separate layer
(ie: each package added with a separate RUN command) you can take
advantage of the cached layers. So rebuild is much fast than it's now.
>>
>
> Each package in it's own image layer? There will be no difference in
> image size, but there will be an impact on readability and facility.

Image size would not change, that's correct. But image build would be
much faster and by having them properly layered you'll need to
download only layer which has changed.



-- 
Tomasz Paszkowski
SS7, Asterisk, SAN, Datacenter, Cloud Computing
+48500166299

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to