<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 19, 2017 at 9:38 PM, Gabriele Cerami <span dir="ltr"><<a href="mailto:gcerami@redhat.com" target="_blank">gcerami@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 19 Oct, Sam Yaple wrote:<br>
> docker_image wouldn't be the best place for that. Buf if you are looking<br>
> for a quicker solution, kolla_docker was written specifically to be license<br>
> compatible for openstack. its structure should make it easily adapted to<br>
> delete an image. And you can copy it and cut it up thanks to the license.<br>
<br>
</span>Thanks, I'll look into it.<br>
<span class="gmail-"><br>
> Are you pushing images with no shared base layers at all (300MB compressed<br>
> image is no shared base layers)? With shared base layers a full image set<br>
> of Kolla images should be much smaller than the numbers you posted.<br>
<br>
</span>300MB is the rounded size of the size reported by the dockerhub UI<br>
e.g <a href="https://hub.docker.com/r/tripleopike/centos-binary-heat-api/" rel="noreferrer" target="_blank">https://hub.docker.com/r/<wbr>tripleopike/centos-binary-<wbr>heat-api/</a><br>
shows 265MB for the newest tag. I'm not sure what size is dockerhub<br>
reporting.<br></blockquote><div><br></div><div>This is misleading. For example, you will download 265MB if you download only tripleopike/centos-binary-heat-api:current-tripleo . But if you download both tripleopike/centos-binary-heat-api:current-tripleo and tripleopike/centos-binary-heat-engine:current-tripleo you will have only downloaded 266MB in total since the majority of those layers are shared.</div><div><br></div><div>So it seems tripleo is building *all* images and then pushing them. Reworking your number leads me to believe you will be consuming 10-15GB in total on Dockerhub. Kolla images are only the size that you posted when built as seperate services. Just keep building all the images at the same time and you wont get anywhere near the numbers you posted.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
When pulling the image, docker downloads 30 layers. The final size<br>
reported locally is 815MB.<br></blockquote><div><br></div><div>This is the uncompressed size, but even here layers are shared. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks<br>
</blockquote></div><br></div></div>