1. 13

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.

  1.  

  2. 3

    Somewhat related: Veertu also uses OS X' Hypervisor.framework and provides pre-installed images for bunch of FLOSS operating systems, including FreeBSD and OpenBSD:

    http://veertu.com

    One nice property of veertu is that it runs as a normal user in a sandbox (per Mac App Store requirements).

    1. 2

      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.

      1. 1

        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:

        1. Have the same environment on all machines, development and production. Our server runs linux, most of our devs use OSX.
        2. Be able to work offline (in trains, planes, etc) without the need to be connected by ssh. This makes sense, not all commands are the same on Linux/OSX, etc.
        3. 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…)

        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?

        Thanks!

        1. 2

          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.