Increasing Docker container size on Centos

I am running a docker stack on Centos-7 box (not boot2docker) . I need to increase the size of the containers from 10GB (which is the default) to a higher value . How can I achieve this ?

  • What are the best approaches to run 100 parallel test on protractor?
  • How to store named docker volume with mysql data on external disk (mac os)?
  • Brand new Ubuntu 14.04.2 Docker container + Nginx: connection refused on port 80
  • Docker-Machine commands timeout TLS handshake but Dock Swarmer working ok
  • RestAPI and Front-End on the same port in Docker
  • Multicast not being sent to all Docker containers
  • sonar-runner configuration in Jenkins docker
  • Accessing docker containers by hostname when running through Vagrant on Windows
  • Docker - if changes on storage are written?
  • Multiple dependent ? Dockerfiles building a LAMP container
  • How to setup group of docker containers with the same addresses?
  • X11 forwarding with PyCharm and Docker Interpreter
  • One Solution collect form web for “Increasing Docker container size on Centos”

    More specifically you are asking to increase the Docker daemon default size for containers.

    The value for this is determined by the dm.basesize option for the --storage-opt option. The default is not 10G for the latest Docker version, it’s 100G as per this

    For 20G you can run something like this:

    docker daemon --storage-opt dm.basesize=20G

    Keep in mind if your OS fs is less than 20GB it will default to the maximum of the fs.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.