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 ?

  • Certificate issue when using artifactory as docker registry
  • Connect rails app in Docker container to external Postgresql Database via URL
  • Sending spark-submit inside a docker container to a YARN cluster
  • How to change VOLUME to COPY in Docker?
  • Change system date time in docker containers without impacting the host
  • Kubernetes service-cluster-ip-range do not work for pod
  • Docker swarm node hostnames are the same
  • How do I advertise AND browse mDNS from within docker container?
  • docker-entrypoint.sh: line 113: conf/neo4j.conf: Permission denied
  • Cannot open firefox in Docker container
  • What should be the amount of RAM allocated for Container
  • docker service update: “image could not be accessed on a registry to record it's digest”
  • 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.