Re: Dockerfile promo post

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

 




On 03/03/2015 03:04 PM, Joe Brockmeier wrote:
Plan to post tomorrow. Anything to add/change here? Sorry for the delay!

Good article.  Since you mention "yum", you might want to add that each line in a dockerfile creates a "layer", we have to "yum clean" every layer to remove the cache.  That can save a significant amount of space.  To compare, just build an image without the "yum clean all" on each layer and compare.  After the container is built, if someone wants to review what happened during build, they can use "docker history <image id> and get a summary.  You can also "docker run" each individual layer, which is why we don't store secrets.



http://fpaste.org/192977/


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

_______________________________________________
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