-
Notifications
You must be signed in to change notification settings - Fork 72
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
Generate disk image using hdiutil #19
Conversation
1bc32c9
to
6d4c1a2
Compare
@johanneswuerbach LGTM. I understand all now! Sorry that I can not understand in the discus :( I want to develop the implementation of |
@johanneswuerbach Sorry, let me ask you a small question. |
'dmg' is the hdiutil default, actually I planned to use sparse (a vbox like self growing image), but couldn't get it to work and will retry later. Haven't look at performance yet, but docker pull had roughly the same speed as my vbox machine. |
6d4c1a2
to
d986953
Compare
I do not know exactly sparseimage, but good idea.
Can you tell me the details? It is very interested.
Whether that impression is intuitive? or measurement? |
Thanks fixed english :) |
xhyve
vbox
looks sane |
it failed to format the disk, but I didn't spend much time to investigate why |
Done |
@johanneswuerbach
Ok. I keep in mind the method. All LGTM. Thank you again :) |
Generate disk image using hdiutil
As discussed in #18. This removes the libguestfs dependency.
Output as expected 1GB (- 1GB swap created by b2d https://github.com/boot2docker/boot2docker/blob/master/rootfs/rootfs/etc/rc.d/automount#L28)
This is using now the same method as the bundled vbox and hyper-v drivers are using to bootstrap the disk.
I'll remove libguestfs, if you think this is 👍