Docker Community Forums

Share and learn in the Docker community.

Regarding to increase the docker container size in centos

(Kaleeswaran Narayanan) #1


    Actually , my requirement is i want to customize the docker container size from default 10Gb to 20GB .
    Is there any configurations . Need to configure anything in my machine or Docker registry server .?

    Kindly guide me through the right path to achieve my requirement . Your suggestions are highly appreciated .

Kaleeswaran N

(Aku163) #2
  1. Stop docker service

  2. Remove directory

    rm -rf /var/lib/docker/*

  3. Try running docker daemon with

    nohup docker -d --storage-opt dm.basesize=20G &