-
Notifications
You must be signed in to change notification settings - Fork 53
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
Install script fails building disk image - incorrectly reports disk is full #17
Comments
by default DLite attempts to make a 30GB disk image, and since xhyve doesn't currently support sparse images that space is all used immediately. since you only have 23GB of free space on your drive, it's filling the drive attempting to create the disk image. you can get around this by running the install like |
30 GB?? Why so big? |
Lol. WOW! 30GB!! Thanks, @nlf! |
because with all the layers that docker creates i found that i was personally filling the 10GB image i was originally creating pretty quickly and having to reset it. not a big deal if you don't mind rebuilding your disk image and re-pulling your docker images if it runs out of space |
Also hit this. Could we get a better diagnostic for this situation?
This is true, but since Virtualbox supports sparse images, no sparse images means dlite is arguably not the best way to run Docker on OSX. |
If the error message had additionally stated that it tried to allocated 30GB, I would have believed it instead of thinking the error was spurious and that there was something else wrong.
I think this is just the trade-off. This is definitely the EASIEST way to run docker on OSX. If it's not the most disk space efficient way, I'm happy to make that trade-off. 😄 |
That's fine; I'm simply saying that there is a tradeoff, which is nowhere documented. My suggestion would be:
|
good idea @drewcrawford, i'll add a note in the caveats. also great idea to give a more clear error message in that case, i'll add a check to confirm enough free space exists before i try to allocate the disk image so i can give the user more information |
Both great ideas. 👍 |
added a note with links to the readme in the caveats section, see #42 for a tracking issue for a better error message |
Implementor of machyve/xhyve#82 here, i could create another pull request against libxhyve if you want to include it directly, runs stable on my machine so far :) (And I have complete sparse image support, just wanted to create smaller pull requests so they could be easier reviewed, upstream seems rather inactive currently so the work is not directly visible there) |
Any ideas? I've tried removing the files in
$HOME/.dilte
and rerunning install. No dice.The text was updated successfully, but these errors were encountered: