3 ms·
This runs boot2docker pretty well out of the box. I made the required edits to xhyverun.sh as found in this gist: https://gist.github.com/bruienne/d1053df883b47
by bruienne 11y ago
This runs boot2docker pretty well out of the box. I made the required edits to xhyverun.sh as found in this gist: https://gist.github.com/bruienne/d1053df883b47822c6e https://gist.github.com/bruienne/d1053df883b47822c6e
It requires that you copy the vmlinuz64 and initrd.img files from the B2D ISO to a local filesystem location. As of right now enabling networking requires root privileges. Not sure if the Hypervisor framework has user-level accommodations for that.
- bruienne 11y agoBlegh, https://gist.github.com/bruienne/d1053df883b47822c6e0 https://gist.github.com/bruienne/d1053df883b47822c6e0
- alfonsodev 11y agothanks! what about volume mounting and port forwarding, are supported already?
- simonvdv 11y agoYour script is pretty much the same as mine, good to see :) For everyone who wants to give it a try and wants some instructions http://simonvanderveldt.nl/boot2docker-on-xhyve/ http://simonvanderveldt.nl/boot2docker-on-xhyve/ I've also done some quick benchmarks, they are at the bottom of the post. Virtualbox had about 50% higher disk IO performance in my measurements. Regarding the root permissions for networking: As far as I know it shouldn't be necessary if you sign the xhyve binary, haven't tried that though.