Increase Disk Space on Docker Toolbox

Pascal picture Pascal · Oct 1, 2016 · Viewed 16.9k times · Source

I'm trying to start some very large Containers on Docker Toolbox (about 18 GB in total). Unfortunately, I always get the error that there is not enough disk space. I have a 1TB HDD and there are more than 200 GB free.

How can I increase the disk space for docker toolbox?

Answer

Pascal picture Pascal · Oct 2, 2016

OK, I finally found the solution:

Open Docker Quickstart Terminal, remove the virtual docker-machine and add a new one:

 $ docker-machine rm default
 $ docker-machine create -d virtualbox --virtualbox-disk-size "100000" default