title: docker and image size limit
body: <p>I've been reading a lot about this issue in here and other websites, but I haven't manage to find a proper solution on how to increase the images size limit which is set to 10GB by default.</p>
  <p>A bit of background informations.</p>
  <p>I'm building a docker container:
  <a href="https://bitbucket.org/efestolab/docker-buildgaffer" rel="nofollow noreferrer">https://bitbucket.org/efestolab/docker-buildgaffer</a></p>
  <p>Which download and builds a consistent set of libraries on top of a centos image. (takes a horrible amount of time and space to build)</p>
  <p>The problem is that every single time I try to build it I hit this error :</p>
  <pre><code>No space left on device
  </code></pre>
  <p>Docker version:</p>
  <pre><code>Docker version 1.7.1, build 786b29d
  </code></pre>
  <p>Docker Info :</p>
  <pre><code>Containers: 1
  Images: 76
  Storage Driver: devicemapper
  Pool Name: docker-8:7-12845059-pool
  Pool Blocksize: 65.54 kB
  Backing Filesystem: extfs
  Data file: /dev/loop0
  Metadata file: /dev/loop1
  Data Space Used: 11.28 GB
  Data Space Total: 107.4 GB
  Data Space Available: 96.1 GB
  Metadata Space Used: 10.51 MB
  Metadata Space Total: 2.147 GB
  Metadata Space Available: 2.137 GB
  Udev Sync Supported: false
  Deferred Removal Enabled: false
  Data loop file: /home/_varlibdockerfiles/devicemapper/devicemapper/data
  Metadata loop file: /home/_varlibdockerfiles/devicemapper/devicemapper/metadata
  Library Version: 1.02.82-git (2013-10-04)
  Execution Driver: native-0.2
  Logging Driver: json-file
  Kernel Version: 3.15.9-031509-generic
  Operating System: Ubuntu 14.04.2 LTS
  CPUs: 8
  Total Memory: 15.58 GiB
  Name: hdd-XPS-15-9530
  ID: 2MEF:IYLS:MCN5:AR5O:6IXJ:3OB3:DGJE:ZC4N:YWFD:7AAB:EQ73:LKXQ
  Username: efesto
  Registry: https://index.docker.io/v1/
  WARNING: No swap limit support
  </code></pre>
  <p>After stopping the service and nuking the /var/lib/docker folder,
  I've been updating by docker startup script</p>
  <pre><code>/lib/systemd/system/docker.service
  </code></pre>
  <p>with these flags :</p>
  <pre><code>ExecStart=/usr/bin/docker -d --storage-opt dm.basesize=20G --storage-opt dm.loopdatasize=256G -H fd:// $DOCKER_OPTS
  </code></pre>
  <p>and restarted docker service, but still fails with the same error.</p>
  <p>I've also been reading that might be due to the original image I'm rely on (centos:6), which might have been built with 10GB limit.</p>
  <p>So I rebuild the centos6 image, and used that as base for mine, but I did hit the same error.</p>
  <p>Does anyone have a reliable way to make me able to build this docker image fully ?</p>
  <p>If there's any other informations which might be useful, just feel free to ask.</p>
  <p>Thanks for any reply or suggestions !
  L.</p>