4 ms·
I'm pretty sure since Docker uses bhyve on mac, so that would be a nested VM...
by amaccuish 6y ago
I'm pretty sure since Docker uses bhyve on mac, so that would be a nested VM...
- lostlogin 6y agoI misunderstood the angle this thread was taking - I thought the OP was going to ask if the Dockered MacOS could run Docker. I was just reading up on Rancher OS, but that’s a containerisation too far at this time in the AM.
- sigjuice 6y agoDocker has their own xhyve derivative called hyperkit. Nested VMs are not supported https://github.com/moby/hyperkit/issues/127 https://github.com/moby/hyperkit/issues/127
- chrisgacsal 6y agoIf I am not mistaken then xhyve and hyperkit are separate projects utilizing the same Hypervisor Framework from Apple under the hood.
- lloeki 6y agohyperkit is a fork of xhyve, plus stuff like bridges between inotify and kqueue/fsevents, or transparent tcp port forwarding. Hypervisor.framework is an API to execute hypervised code, to build virtualisation engines that can run unprivileged; you still have to write an actual virtual machine.
- lloeki 6y agoYou can use Docker Machine and whatever backend you want, including xhyve, VirtualBox, and VMware Fusion, and enable nested virtualisation in the created machine.