[HN Gopher] FreeBSD OCI Container on Jails/Bhyve with Support fo...
       ___________________________________________________________________
        
       FreeBSD OCI Container on Jails/Bhyve with Support for Podman
        
       Author : BSDobelix
       Score  : 49 points
       Date   : 2024-12-05 19:45 UTC (3 hours ago)
        
 (HTM) web link (freebsdfoundation.org)
 (TXT) w3m dump (freebsdfoundation.org)
        
       | whalesalad wrote:
       | Linked 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
        
       | freedomben wrote:
       | One 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 wrote:
         | I 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/
        
           | BSDobelix wrote:
           | >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 wrote:
             | Actually 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-
             | insta...
             | 
             | 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/s...
        
               | BSDobelix wrote:
               | >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. ;)
        
           | badgersnake wrote:
           | There 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 wrote:
       | I 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.
        
       ___________________________________________________________________
       (page generated 2024-12-05 23:01 UTC)