5 ms·
This is a huge missing piece for FreeBSD. If docker Linux containers could run a-la macOS, via hypervisor, would be a huge boost in FreeBSD adoption.
by atmosx 4y ago
This is a huge missing piece for FreeBSD. If docker Linux containers could run a-la macOS, via hypervisor, would be a huge boost in FreeBSD adoption.
- LeSaucy 4y agoIs this using a VM to run Linux+containers or using the facilities in the freebsd kernel to emulate linux+syscalls?
- ArchOversight 4y agoThis is using the facilities in FreeBSD to run Linux binaries directly it looks like using emulated linux sys calls.
- musicale 4y ago> If docker Linux containers could run a-la macOS, via hypervisor, would be a huge boost in FreeBSD adoption Hypervisor-based Linux is going to be more compatible with the bleeding edge of Linux kernels, but using a system call compatibility library seems more elegant, so I'm happy to see this, and I'd like to see a version for macOS as well.
- atmosx 4y agoCould be. However I know that one approach works wonders because I use a Mac daily. The other might be harder to maintain in the long run.
- crest 4y agoYou can already run Docker on Linux running as a guest on FreeBSD's own bhyve hypervisor. Pick a small Linux distro and go for it if you're prepared to accept the overhead.
- atmosx 4y agoBut there is no overhead in Mac. At least not a UX overhead, the i/o performance is poor compared to Linux but no one cares.
- Maursault 4y ago> This is a huge missing piece for FreeBSD. How do you figure that? I thought this space was covered by FreeBSD jails, except Docker is 3rd party, jails are baked in to FreeBSD, and Docker is only able to run containers, while jails run FreeBSD and Linux programs. Maybe Docker can run in a jail on FreeBSD? idk. But it just seems like you're making a declarative statement from the perspective that "Linux is everything that matters" without being aware of jails and BHyVe, but then again, I am replying without much knowledge of Docker and not any understanding why young devs think it is the Second Coming.