# No space left on device

**URL:** <https://forums.docker.com/t/no-space-left-on-device/771>\
**Category:** Boot2Docker\
**Created:** [February 5, 2015, 11:50pm UTC](https://forums.docker.com/t/no-space-left-on-device/771 "2015-02-05T23:50:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nkimidi](https://avatars.discourse-cdn.com/v4/letter/n/b77776/32.png) [@nkimidi](https://forums.docker.com/u/nkimidi)\
**Post date:** [February 5, 2015, 11:50pm UTC](https://forums.docker.com/t/no-space-left-on-device/771/1 "2015-02-05T23:50:03Z")

</div>

Hi,

I am trying to add very large files to my container.  
The build fails with “No space left on device”.

I tried to follow the steps in [http://jpetazzo.github.io/2014/01/29/docker-device-mapper-resize/](http://jpetazzo.github.io/2014/01/29/docker-device-mapper-resize/) but was not successful.

Can someone suggest me how to increase the size of a container?

---

<div class="post-metadata">

**Author:** ![svendowideit](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/svendowideit/32/119_2.png) [@svendowideit](https://forums.docker.com/u/svendowideit)\
**Post date:** [February 10, 2015, 2:13am UTC](https://forums.docker.com/t/no-space-left-on-device/771/2 "2015-02-10T02:13:27Z")

</div>

That url is about the devicemapper backend - boot2docker defaults to using aufs.

however, I think your virtual machine is likely running out of space (a more fundamental issue), for which [http://docs.docker.com/articles/b2d\_volume\_resize/](http://docs.docker.com/articles/b2d_volume_resize/) may help
