Docker Community Forums

Share and learn in the Docker community.

No space left on device Docker toolbox


(Ngoctuan001) #1

Hi guys , i am using docker toolbox for windows 7

when i try to build the docker image , i got this problem
Capture

anyone have any idea why

I can build a simple image following the tutorial here https://docs.docker.com/get-started/part2/#requirementstxt
but when i apply it to build my app’s docker image. it have this problem


(Mryap) #2

If you regularly find yourself running short of disk space in your virtual machine, you can create one that has more to begin with.

WARNING: This will delete all existing containers or images used by the docker VM. Please be aware that you might lose data from non-Divio Cloud related containers as well!

You can set disk size using the “–virtualbox-disk-size” flag.

To delete your old VM and create a new one from scratch with 100GB, you’d run:

$ docker-machine rm default

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

Source: https://github.com/docker/kitematic/wiki/Common-Issues-and-Fixes#running-out-of-space