Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No space left on device #600

Closed
ruidc opened this issue Mar 21, 2017 · 9 comments
Closed

No space left on device #600

ruidc opened this issue Mar 21, 2017 · 9 comments

Comments

@ruidc
Copy link

ruidc commented Mar 21, 2017

... when pulling containers. All drives in windows still have space - what device is running

already tried:

  • prune
  • image removal
  • factory reset
  • uninstall + reboot + reinstall

Diagnostic id:

  • A9A0EDF3-69CD-4E05-B440-DC6D9080FE46/2017-03-21_18-17-41
@friism
Copy link

friism commented Mar 22, 2017

What image are you pulling and how much space is on your system drive?

@ruidc
Copy link
Author

ruidc commented Mar 24, 2017 via email

@principat
Copy link

principat commented Apr 13, 2017

The problem is that not the free storage of your physical drives is interesting, but the free storage of the vm (initial 60GB).

Start hyper-V Manager, stop docker vm (MobyLinuxVm), increase the size of the virtual hard drive and restart docker. This should help

@aensidhe
Copy link

Start hyper-V Manager, stop docker vm (MobyLinuxVm), increase the size of the virtual hard drive and restart docker. This should help

Does not help us.

We have CI and agents are constantly building, pulling and pushing images. Within 2 working days it is guaranteed that we'll have "no space left on device error".

@jasonbivins
Copy link

Hi @ruidc @aensidhe
The MobyLinuxVM is hard-coded for a 60gb drive. You can change this by making a change to one of our startup scripts.

  1. Stop Docker
  2. Go to C:\Program Files\Docker\Docker\resources and find MobyLinux.ps1 line 86
  3. Then find $global:VhdSize = 60* 1024* 1024*1024 Change the 60 to the drive size you'd like.
  4. Restart Docker

Please keep in mind that this change will be reverted after upgrades or reinstalls.

Please let me know if this helps and I'll put it into a KB

@ruidc
Copy link
Author

ruidc commented Jul 28, 2017 via email

@principat
Copy link

principat commented Aug 15, 2017 via email

@mriegr
Copy link

mriegr commented Mar 15, 2019

This problem persisted since 3 years ago without any working solution introduced by the Docker team. Even with 500GB of vm storage this problem keeps occuring in our place.

docker system prune failed to clear data buildup in the vm and just shows Total reclaimed space: 0B everytime.

The only workaround is to recreate the vm by either resetting Docker to factory defaults or increasing the vm storage size.

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Jun 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants