Home > other >  Mac docker no space left on device when building images?
Mac docker no space left on device when building images?

Time:06-15

I've seen this issue a number of times and usually use docker system prune to solve it temporarily, but i'm not understanding why it says there is no space on the device?

The main drive on my mac currently has 170gb free space, i also have a second drive with 900gb free, the images i'm building take up a total of 900mb when built, so what is docker talking about? I have plenty of storage space!

CodePudding user response:

Since you specified that the platform is Mac, your docker runtime is running inside a VM, which has it's own resources allocated.

Assuming you are using enter image description here

CodePudding user response:

In case you don't want to increase the amount of docker engine storage as answered here, you can free some space by running:

docker image prune
  • Related