You searched for this article, so I assume you know what boot2docker is and are using it. That’s good, so am I.
But how many times have you got errors like
no space left when you tried to pull a new image and running a command with container? I’ll tell you what, there’s a way to increase your disk size.
~/.boot2docker/profile or create one if you cannot find it. For Windows, try
%USERPROFILE%/.boot2docker/profile. There’s a configuration called
DiskSize, change it to any size you want.
Make the whole configuraion file look like:
Destroy your existing boot2docker-vm by running
boot2docker destroy, and then use
boot2docker init to create a new one.
Enjoy your new environment!