<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Docker on</title><link>https://www.ardanlabs.com/categories/docker/</link><description>Recent content in Docker on</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 03 Apr 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://www.ardanlabs.com/categories/docker/index.xml" rel="self" type="application/rss+xml"/><item><title>Docker Images : Part III - Going Farther To Reduce Image Size</title><link>https://www.ardanlabs.com/blog/2020/04/docker-images-part3-going-farther-reduce-image-size.html</link><pubDate>Fri, 03 Apr 2020 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2020/04/docker-images-part3-going-farther-reduce-image-size.html</guid><description>&lt;h3 id="series-index"&gt;Series Index&lt;/h3&gt;&#10;&lt;p&gt;&lt;a href="https://www.ardanlabs.com/blog/2020/02/docker-images-part1-reducing-image-size.html%22"&gt;Reducing Image Size&lt;/a&gt;&lt;br&gt;&#10;&lt;a href="https://www.ardanlabs.com/blog/2020/02/docker-images-part2-details-specific-to-different-languages.html%22"&gt;Details Specific To Different Languages&lt;/a&gt;&lt;br&gt;&#10;&lt;a href="https://www.ardanlabs.com/blog/2020/04/docker-images-part3-going-farther-reduce-image-size.html%22"&gt;Going Farther To Reduce Image Size&lt;/a&gt;&lt;/p&gt;&#10;&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;In the first two parts of this series, we covered the most common methods to optimize Docker image size. We saw how multi-stage builds,&#10;combined with Alpine-based images, and sometimes static builds, would generally give us the most dramatic savings. In this last part, we will see how to go even farther. We will talk about standardizing base images, stripping binaries, assets optimization, and other build systems or add-ons like DockerSlim or Bazel, as well as the NixOS distribution.&lt;/p&gt;</description></item><item><title>Docker Images : Part II - Details Specific To Different Languages</title><link>https://www.ardanlabs.com/blog/2020/02/docker-images-part2-details-specific-to-different-languages.html</link><pubDate>Mon, 24 Feb 2020 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2020/02/docker-images-part2-details-specific-to-different-languages.html</guid><description>&lt;h3 id="series-index"&gt;Series Index&lt;/h3&gt;&#10;&lt;p&gt;&lt;a href="https://www.ardanlabs.com/blog/2020/02/docker-images-part1-reducing-image-size.html%22"&gt;Reducing Image Size&lt;/a&gt;&lt;br&gt;&#10;&lt;a href="https://www.ardanlabs.com/blog/2020/02/docker-images-part2-details-specific-to-different-languages.html%22"&gt;Details Specific To Different Languages&lt;/a&gt;&lt;br&gt;&#10;&lt;a href="https://www.ardanlabs.com/blog/2020/04/docker-images-part3-going-farther-reduce-image-size.html%22"&gt;Going Farther To Reduce Image Size&lt;/a&gt;&lt;/p&gt;&#10;&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;In the first part, we introduced multi-stage builds, static and dynamic linking, and briefly mentioned Alpine. In this second part, we are going to dive into some details specific to Go. Then we will talk more about Alpine, because it&amp;rsquo;s worth it; and finally we will see how things play out with other languages like Java, Node, Python, Ruby, and Rust.&lt;/p&gt;</description></item><item><title>Docker Images : Part I - Reducing Image Size</title><link>https://www.ardanlabs.com/blog/2020/02/docker-images-part1-reducing-image-size.html</link><pubDate>Tue, 04 Feb 2020 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2020/02/docker-images-part1-reducing-image-size.html</guid><description>&lt;h3 id="series-index"&gt;Series Index&lt;/h3&gt;&#10;&lt;p&gt;&lt;a href="https://www.ardanlabs.com/blog/2020/02/docker-images-part1-reducing-image-size.html%22"&gt;Reducing Image Size&lt;/a&gt;&lt;br&gt;&#10;&lt;a href="https://www.ardanlabs.com/blog/2020/02/docker-images-part2-details-specific-to-different-languages.html%22"&gt;Details Specific To Different Languages&lt;/a&gt;&lt;br&gt;&#10;&lt;a href="https://www.ardanlabs.com/blog/2020/04/docker-images-part3-going-farther-reduce-image-size.html%22"&gt;Going Farther To Reduce Image Size&lt;/a&gt;&lt;/p&gt;&#10;&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;&#10;&lt;p&gt;When getting started with containers, it&amp;rsquo;s pretty easy to be shocked by the size of the images that we build. We&amp;rsquo;re going to review a number of techniques to reduce image size, without sacrificing developers&amp;rsquo; and ops&amp;rsquo; convenience. In this first part, we will talk about multi-stage builds, because that&amp;rsquo;s where anyone should start if they want to reduce the size of their images. We will also explain the differences between static and dynamic linking, as well as why we should care about that. This will be the occasion to introduce Alpine.&lt;/p&gt;</description></item></channel></rss>