I used xhyve to accomplish this.
I found an excellent tutorial online on how to get this working and copied it over to a gist which can be found here.
Somewhat related: Veertu also uses OS X' Hypervisor.framework and provides pre-installed images for bunch of FLOSS operating systems, including FreeBSD and OpenBSD:
One nice property of veertu is that it runs as a normal user in a sandbox (per Mac App Store requirements).
I’ve been using xhyve indirectly via dlite which is a transparent way to use docker on OS X which works superbly (for local dev scenarios at least—not production). It’s a really nice combination of tech IMO.
Can I derail the thread a little bit? I feel like this is a good place to ask :)
I’ve spent some time looking at Docker this week. I’m trying to solve some problems and, for what I’ve read, it seems to be the best answer:
So I’ve read that Docker solves 1 and 2, but I’m not sure about 3.
I don’t want/need it to be super complex – I’m talking about Vagrant deployments, elasticity, etc. Just let some devs have a uniform environment and a way to sync their work.
Since you seem to have solved the problem of docker on OSX by using either xhyve or dlite, could you suggest something to square the circle?
Sync all project files through all machines, i.e. if I change code, or insert some rows in the dev database, I want these propagated to other devs. For code I’d use git, but I’m not sure what to use for other assets (images, DB…)
I recommend you start an Ask Lobster thread. Your problem is configuration management, not hypervisors.