1. Check current base size

docker info

 2. Stop docker

sudo service docker stop

 3. Backup Image and Container &  clear Docker

mv /var/lib/docker/image /<someplace>
mv /var/lib/docker/containers /<someplace>

rm -rf /var/lib/docker

 4. Increase the size

cd /usr/bin/
sudo docker daemon --storage-opt dm.basesize=50G

 4. Restart and check Base Disk

sudo service docker start
docker info

 

Categories: Development Tools

Leave a Reply

Your email address will not be published. Required fields are marked *