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?
Minimum: 8 GB; Recommended: 16 GB.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With