# Space required to build Moby?

**URL:** https://forums.mobyproject.org/t/space-required-to-build-moby/163
**Category:** Support
**Created:** [October 23, 2017, 1:26pm UTC](https://forums.mobyproject.org/t/space-required-to-build-moby/163 "2017-10-23T13:26:47Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![macedemo](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@macedemo](https://forums.mobyproject.org/u/macedemo)
#### Post date: [October 23, 2017, 1:26pm UTC](https://forums.mobyproject.org/t/space-required-to-build-moby/163/1 "2017-10-23T13:26:47Z")

</div>

I was wondering if anyone knows how much disk space is required to build Moby from GitHub sources?

---

<div class="post-metadata">

### Author: ![cpuguy83](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.mobyproject.org/cpuguy83/32/22_2.png) [@cpuguy83](https://forums.mobyproject.org/u/cpuguy83)
#### Post date: [October 23, 2017, 1:43pm UTC](https://forums.mobyproject.org/t/space-required-to-build-moby/163/2 "2017-10-23T13:43:57Z")

</div>

This is difficult to say.  
The dev build image is ~2GB which has all the dependencies (and then some).

---

<div class="post-metadata">

### Author: ![macedemo](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@macedemo](https://forums.mobyproject.org/u/macedemo)
#### Post date: [October 23, 2017, 2:05pm UTC](https://forums.mobyproject.org/t/space-required-to-build-moby/163/3 "2017-10-23T14:05:52Z")

</div>

Thanks! I tried to build moby (in an existing VM) and it seemed to blow out my / file system. I built it in /home file system but it looks like it build docker images (ok I did not look at the makefile to see what it did before doing this, my bad). Looks like it created a docker-dev image . That was 2.4G. So I guess my bigger question has anyone specified out what a Linux file system configuration is minimally required to build moby?

---

<div class="post-metadata">

### Author: ![macedemo](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@macedemo](https://forums.mobyproject.org/u/macedemo)
#### Post date: [October 23, 2017, 7:05pm UTC](https://forums.mobyproject.org/t/space-required-to-build-moby/163/4 "2017-10-23T19:05:21Z")

</div>

Well I created a large file system VM to build moby. The code from the github, is about 253M. And like you said cpuguy83 the /var/lib/docker burned about 2.5G.

---

<div class="post-metadata">

### Author: ![Achal1234](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@Achal1234](https://forums.mobyproject.org/u/Achal1234)
#### Post date: [March 2, 2019, 9:44am UTC](https://forums.mobyproject.org/t/space-required-to-build-moby/163/5 "2019-03-02T09:44:30Z")

</div>

Can you please mention your steps for build docker from moby source code?
