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.
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.
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.
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.
Everyone at d2k17 is laughing right now :)
they stopped laughing and asked for more alcohol
Everyone might be laughing,but this hack would make it possible for me to run OpenBSD for work.
What’s the point if you’re running everything in a Linux VM?
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.
Exactly.
Well, you don’t have to run everything in the VM.
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.
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.
They use xhyve to do the lifting, which is based on FreeBSD’s bhyve!
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.
vmm can boot ISO images now! Great!
(and, as others have pointed out, running docker inside a Linux VM is kinda cheating :P )