Re: Size of base Fedora 32 Docker image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 13, 2015 at 3:18 PM, Matthew Miller
<mattdm@xxxxxxxxxxxxxxxxx> wrote:
> On Thu, Jan 08, 2015 at 11:36:04PM -0800, M. Edward (Ed) Borasky wrote:
>> I'm starting to build Docker images on the Fedora base and I'm a
>> little concerned about the size of the images. For example, the Debian
>> base is 85.1 MB, the Ubuntu base is 192 MB and the CentOS base is 224
>> MB. The Fedora base is 250.2 MB and that's *before* I install any
>> application code.
>> Is there any way I can build a smaller base? Ideally I'd like
>> something under 100 MB but even getting it under 200 MB would be
>> worthwhile.
>
> Yeah it seems to have crept up a bit. The image went from this Cloud
> SIG over to the Base WG (since there's so much interest in Docker), but
> I think we still have a vested interest in keeping it small. In
> general, much of the regular dependency-shrinking work we've been doing
> should help here.
>
> Unfortunately, the easy work is mostly done, as is some of the
> moderately hard. The next most helpful thing is probably making a
> compact version of python sufficient for yum, cloud-init, grubby (new
> version), and _possibly_ firewalld. As it is, it's about a third
>
> Oh hmmm. I see that grub2 got into the docker image somehow. That
> should probaby be fixed, and provides a big savings even in the
> compressed version because that's the only thing that pulls in
> fedora-logos.
>
> Hmmm. Firewalld too. That really doesn't need to be there, does it?
>
>
> That said, the docker image we're producing *is* only 90MB compressed —
> see
> <https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Docker/x86_64/>
> — and 241MB uncompressed. Something _additionally_ weird is going on.
>
>
>
> Are you interested in taking point on this for Fedora 22? Or finding a
> handful of people who are interested in working with the Base WG to
> figure it out?

The list from the latest image in the docker repository is:
http://paste.fedoraproject.org/168966/21139532/

I was actually playing with docker today and was poking at it. Happy
to help push fixes and help generally too.

Peter
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux