4 ms·
FreeBSD OCI Container on Jails/Bhyve with Support for Podman
- whalesalad 2y agoLinked lightning talk introducing this. I have always had a curiosity around FreeBSD/jails. Will watch this tonight while the snow falls. https://www.youtube.com/watch?v=pggcc6fi-ow https://www.youtube.com/watch?v=pggcc6fi-ow
- freedomben 2y agoOne of my first thoughts was wondering why Bhyve would be needed if it works with Jails, here's the relevant answer from TFA: > which would allow support for other operating systems besides FreeBSD in a container on a FreeBSD host Seemless integration with Bhyve so you could run linux-based containers could be a really killer feature IMHO!
- tw04 2y agoI don't know that you'd even need Bhyve for that - FreeBSD has a pretty robust linux compatibility layer. https://docs.freebsd.org/en/books/handbook/linuxemu/ https://docs.freebsd.org/en/books/handbook/linuxemu/
- BSDobelix 2y ago>FreeBSD has a pretty robust linux compatibility layer. Robust but not perfect, would you run MicrosoftSQL(the Windows version) on Linux with WINE? However you still can try it with a LinuxJail, and yes the linux layer is pretty robust.
- pjmlp 2y agoActually that is kind of how SQL Server does run. First of all, only the Linux containers are supported for SQL Server, using Windows containers has been deprecated, and no longer documented https://learn.microsoft.com/en-us/sql/linux/quickstart-install-connect-docker https://learn.microsoft.com/en-us/sql/linux/quickstart-insta... https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/install/windows/support-policy-sql-server#sql-server-running-in-windows-containers https://learn.microsoft.com/en-us/troubleshoot/sql/database-... Secondly, the way SQL Server has been ported to Linux, is based on the pico processes technology, aka library OS, which is kind of how WINE works, https://www.microsoft.com/en-us/sql-server/blog/2016/12/16/sql-server-on-linux-how-introduction/ https://www.microsoft.com/en-us/sql-server/blog/2016/12/16/s...
- BSDobelix 2y ago>Actually that is kind of how SQL Server does run. Yes, I know (that's why I wrote "the Windows version"), but would you put it into production with your own WINE/Proton package? >Secondly, the way SQL Server has been ported to Linux, is based on the pico processes technology, aka library OS, which is kind of how WINE works, Yes, again, I know, and I think you know what I mean by my example, I had no other example of a major Microsoft dedicated application that came to mind. ;)
- szszrk 2y agoI don't think it's fair to compare freebsd's Linux compatibility layer to Wine. I've been running on freebsd a lot of Linux binaries of closed source software 20 years ago and it always worked flawlessly for me. Even desktop stuff like Opera (yes, the one with adds in main window). At the time Wine could run some more trivial programs sometimes, and usually crashed anyway. Wine improved a lot but IMHO it's still unfair to compare those.
- badgersnake 2y agoThere was a version of docker that worked like that many years ago. It died pretty quick, I think because it was a fork and keeping it up to date was pretty hard.
- soupbowl 2y agoI did some minor testing with FreeBSD podman, it seemed ok. Now that FreeBSD 14.2 has been released I plan on moving some of my Linux podmans over to FreeBSD to see how well things are working. I am also curious if we can use these smaller OCI images as normal thin jails, It seems like it from first glance.