# Docker Images : Part III - Going Farther To Reduce Image Size

DevFeed: [Docker Images : Part III - Going Farther To Reduce Image Size](<https://devfeed.tech/articles/docker-images-part-iii-going-farther-to-reduce-image-size-22159.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2020/04/docker-images-part3-going-farther-reduce-image-size.html>)

Published: 2020-04-03T00:00:00Z

Content type: tutorial

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Docker](<https://devfeed.tech/topics/docker.md>), [Docker Image](<https://devfeed.tech/topics/docker-image.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>), [Dockerfile](<https://devfeed.tech/topics/dockerfile.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [systems](<https://devfeed.tech/topics/systems.md>)

Tags: [ardan-labs](<https://devfeed.tech/tags/ardan-labs.md>), [base-images](<https://devfeed.tech/tags/base-images.md>), [bazel](<https://devfeed.tech/tags/bazel.md>), [blog](<https://devfeed.tech/tags/blog.md>), [build](<https://devfeed.tech/tags/build.md>), [building](<https://devfeed.tech/tags/building.md>), [cache](<https://devfeed.tech/tags/cache.md>), [containers](<https://devfeed.tech/tags/containers.md>), [docker](<https://devfeed.tech/tags/docker.md>), [docker-image](<https://devfeed.tech/tags/docker-image.md>), [docker-images](<https://devfeed.tech/tags/docker-images.md>), [drivers](<https://devfeed.tech/tags/drivers.md>), [files](<https://devfeed.tech/tags/files.md>), [go](<https://devfeed.tech/tags/go.md>), [go-programming](<https://devfeed.tech/tags/go-programming.md>), [golang](<https://devfeed.tech/tags/golang.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [image](<https://devfeed.tech/tags/image.md>), [images](<https://devfeed.tech/tags/images.md>), [memory](<https://devfeed.tech/tags/memory.md>), [network](<https://devfeed.tech/tags/network.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [programming](<https://devfeed.tech/tags/programming.md>), [reduce](<https://devfeed.tech/tags/reduce.md>), [systems](<https://devfeed.tech/tags/systems.md>)

## AI overview

The third article in a series on reducing Docker image size explains further optimization techniques, including standardized base images, stripped binaries, asset optimization, and tools such as DockerSlim and Bazel. It also describes how shared image layers can reduce network, storage, disk I/O, and memory usage when running multiple containers.

## Source excerpt

Series Index Reducing Image Size Details Specific To Different Languages Going Farther To Reduce Image Size Introduction 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, 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.