title: How to increase docker disk image size in Ubuntu
body: <p>I am trying to increase the docker image size on ubuntu. When I do docker info I get following info</p>
  
  <pre><code>Containers: 0
   Running: 0
   Paused: 0
   Stopped: 0
  Images: 0
  Server Version: 17.09.0-ce
  Storage Driver: overlay2
   Backing Filesystem: extfs
   Supports d_type: true
   Native Overlay Diff: true
  Logging Driver: json-file
  Cgroup Driver: cgroupfs
  Plugins:
   Volume: local
   Network: bridge host macvlan null overlay
   Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
  Swarm: inactive
  Runtimes: runc
  Default Runtime: runc
  Init Binary: docker-init
  containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
  runc version: 3f2f8b84a77f73d38244dd690525642a72156c64
  init version: 949e6fa
  Security Options:
   apparmor
   seccomp
    Profile: default
  Kernel Version: 4.4.0-87-generic
  Operating System: Ubuntu 16.04.3 LTS
  OSType: linux
  Architecture: x86_64
  CPUs: 8
  Total Memory: 15.67GiB
  Name: no1010042033112.corp.adobe.com
  ID: PYZE:KYTG:DXED:QI37:43ZM:56BB:TLM6:X2OJ:WDPA:35UP:Z4CU:DSNC
  Docker Root Dir: /var/lib/docker
  Debug Mode (client): false
  Debug Mode (server): false
  Registry: https://index.docker.io/v1/
  Experimental: false
  Insecure Registries:
   127.0.0.0/8
  Live Restore Enabled: false
  </code></pre>
  
  <p>As you can see that total memory is Total Memory: 15.67GiB. I couldn't find a way to do it on Ubuntu. I tried following ways</p>
  
  <p>1) sudo dockerd --storage-opt dm.basesize=100G
  2) Changing DOCKER_OPTS ="--storage-opt dm.basesize=50G" in /etc/default/docker.</p>
  
  <p>But none of these helped. This option is easily available in Docker config in Windows. But how to do it from a ubuntu terminal</p>