# Why does the docker image take so much space?

**URL:** https://meta.discourse.org/t/why-does-the-docker-image-take-so-much-space/67190
**Category:** Self-hosting
**Created:** [2017年七月31日 18:39 UTC](https://meta.discourse.org/t/why-does-the-docker-image-take-so-much-space/67190 "2017-07-31T18:39:39Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Chopper](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chopper/32/57073_2.png) [@Chopper](https://meta.discourse.org/u/Chopper)
#### Post date: [2017年七月31日 18:39 UTC](https://meta.discourse.org/t/why-does-the-docker-image-take-so-much-space/67190/1 "2017-07-31T18:39:39Z")

</div>

This is the question about the 10GO min, what in the docker container take so much place ? A default install of Discourse is ~5-6go, so what takes so much space with an empty forum ?

Thanks

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [2017年七月31日 19:33 UTC](https://meta.discourse.org/t/why-does-the-docker-image-take-so-much-space/67190/2 "2017-07-31T19:33:30Z")

</div>

Did you try the CLI command  
`docker df -v`

If you’re talking about requirements instead of “normal” use, certain operations (eg. backup) temporarily use more space than is normally used.

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [2017年八月1日 00:33 UTC](https://meta.discourse.org/t/why-does-the-docker-image-take-so-much-space/67190/3 "2017-08-01T00:33:11Z")

</div>

This has been covered before, in some detail. Check the archives, I know I’ve answered this question at least once before.

---

<div class="post-metadata">

### Author: ![Chopper](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chopper/32/57073_2.png) [@Chopper](https://meta.discourse.org/u/Chopper)
#### Post date: [2017年八月1日 08:17 UTC](https://meta.discourse.org/t/why-does-the-docker-image-take-so-much-space/67190/4 "2017-08-01T08:17:17Z")

</div>

This one ?

> [@Why does discourse take up so much disk space?](https://meta.discourse.org/t/why-does-discourse-take-up-so-much-disk-space/63105/2):
>
> To answer the question in your title: Discourse takes up a lot of space because it’s significantly easier for everyone if we just ship a copy of everything above the kernel in one neat little package, rather than trying to shoehorn everything into whatever crazy setup people already have on their machine.

from [Why does discourse take up so much disk space? - #2 by mpalmer](https://meta.discourse.org/t/why-does-discourse-take-up-so-much-disk-space/63105/2)

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [2017年八月2日 00:43 UTC](https://meta.discourse.org/t/why-does-the-docker-image-take-so-much-space/67190/5 "2017-08-02T00:43:45Z")

</div>

Hmm, I thought I’d done a longer-form explanation than that somewhere. That one you found isn’t as wall-of-texty as I tend to produce when roused to action.
