---
title: "Discussion on \"Docker Image Optimization with Multi-Stage Build\" | Hashnode"
description: "Discussion on \"Docker Image Optimization with Multi-Stage Build\". Have you ever noticed that the size of docker image reaches hundreds of MBs even for the small application, let’s say a simple Hello World program ? It’s because of the underlying base image which we often choose heavy and all the dependicies which a..."
url: "https://hashnode.com/posts/docker-image-optimization-with-multi-stage-build/67b4e84ac2e4b44184d553bc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Docker Image Optimization with Multi-Stage Build](https://anjalpoudel.hashnode.dev/docker-image-optimization-with-multi-stage-build?utm_source=hashnode&utm_medium=feed)

Have you ever noticed that the size of docker image reaches hundreds of MBs even for the small application, let’s say a simple Hello World program ? It’s because of the underlying base image which we often choose heavy and all the dependicies which a...

Feb 18, 2025 · 7 min read · anjalpoudel.hashnode.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#docker-images](https://hashnode.com/tag/docker-images)
-   [#devops](https://hashnode.com/tag/devops)
-   [#multi-stage-docker-file](https://hashnode.com/tag/multi-stage-docker-file)
-   [#learning-journey](https://hashnode.com/tag/learning-journey)
-   [#distroless-image](https://hashnode.com/tag/distroless-image)

## Written by

[Anjal Poudel](https://hashnode.com/@anjalpoudel)

@anjalpoudel

  
[View profile](https://hashnode.com/@anjalpoudel)

My Journey into DevOps: Learning, Experiencing and Sharing

## Responses 1

Markdown supported · ⌘↵ to post

[lochan paudel](https://hashnode.com/@lochanpaudel)

[Feb 20, 2025](https://hashnode.com/posts/docker-image-optimization-with-multi-stage-build/67b4e84ac2e4b44184d553bc/comment/67b6b6660b9e7ec06d7ceca9)

The debugging tips and the insight about keeping frequently changing parts at the bottom of Dockerfiles were super helpful.

Thanks, for sharing these insights!
