Docker Images : Reducing Image Size

  r/docker

When getting started with containers, it’s pretty easy to be shocked by the size of the images that we build. We’re going to review a number of techniques to reduce image size, without sacrificing developers’ and ops’ convenience. In this first part, we will talk about multi-stage builds, because that’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.

https://www.ardanlabs.com/blog/2020/02/docker-images-part1-reducing-image-size.html

submitted by /u/nfrankel
[link] [comments]
Source: Reddit

LEAVE A COMMENT