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 ?

  • How to find (closest) tag based on image_id
  • Docker for a one shot CLI application
  • Provisioning a docker image with chef
  • Docker user namespacing map user in container to host
  • Multiple Dockerfiles in project
  • How to ship java based web application in AWS cloud using docker
  • I lose my data when the container exits
  • nodejs, docker, nginx and amazon aws deployment
  • Docker Kitematic connect ETIMEDOUT error
  • Gitlab-runner with syntax error
  • Not able to access Kibana running in a Docker container on port 5601
  • Implement on-demand docker container start-up
  • 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.