Docker Image Reduction Techniques and Tools

Yesterday I spent some time researching how to reduce the size of my Docker image. Weighing in at 841.6 MB while loaded my Rails application image is probably average sized. Docker Hub reports it as 338 MB which is approximately the size of the image after I have [crayon-59045c6b2abb8156914480-i/]d and gzip’d it. That tells me that [crayon-59045c6b2abc8614926558-i/]  and [crayon-59045c6b2abce883986141-i/] are transporting much lighter files than I work with on a daily basis. That’s good, but smaller images mean faster deploys, so time researching how to lighten their load seemed worthwhile. Known techniques for reducing Docker image size There are some decent articles that discuss Docker image size in depth … Continue reading Docker Image Reduction Techniques and Tools