Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Increase Disk Space on Docker Toolbox

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?

like image 631
Pascal Avatar asked Oct 01 '16 21:10

Pascal


People also ask

How much disk space do I need for docker?

Minimum: 8 GB; Recommended: 16 GB.

How do I clean up my docker disk space?

Prune containers A stopped container's writable layers still take up disk space. To clean this up, you can use the docker container prune command. By default, you are prompted to continue. To bypass the prompt, use the -f or --force flag.

Can a docker container run out of space?

Sometimes while running a command inside of a docker container, the container itself will run out of disk space and things can fail (sometimes in strange ways). This is not a guide on how to allocate resources, but a quick cookbook on how to free up disk space inside a container.


1 Answers

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 
like image 181
Pascal Avatar answered Oct 14 '22 16:10

Pascal