1. 14
  1.  

  2. 12

    Everyone at d2k17 is laughing right now :)

    1. 10

      they stopped laughing and asked for more alcohol

      1. 3

        Everyone might be laughing,but this hack would make it possible for me to run OpenBSD for work.

        1. 1

          What’s the point if you’re running everything in a Linux VM?

          1. 4

            I run only the Linux bits I need in a bhyve VM on HardenedBSD on my work laptop. Doing so allows me to run the OS I love while virtualizing only the bits I need for $WORK.

            1. 2

              Exactly.

            2. 1

              Well, you don’t have to run everything in the VM.

      2. 2

        This is a cool writeup, but honestly this is not “Docker on OpenBSD” – it’s Docker running on a Linux VM on OpenBSD, the same as a Linux VM running on any other hypervisor.

        1. 6

          This is also how Docker runs on Mac OS. So I’d consider it a valid solution to interoperating with other platforms that run Docker. Sure it’s nothing magical, but it’s nice to know that virtualization on OpenBSD has reached a point where, if Docker is a requirement for your job (or whatever), it no longer means you can’t run OpenBSD as your host OS.

          1. 1

            They use xhyve to do the lifting, which is based on FreeBSD’s bhyve!

          2. 9

            That’s why I tagged it Linux, OpenBSD and virtualization. Editorializing titles is against lobste.rs rules.

            Still I find the story interesting as it shows at what level vmm virtualization is at right now. Unlike Linux VM hypervisors, vmm is a very young codebase.

          3. 2

            vmm can boot ISO images now! Great!

            (and, as others have pointed out, running docker inside a Linux VM is kinda cheating :P )