FreeBSD 14.2 Beta 3 Released - FreeBSD Now Publishing OCI Container Images

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • phoronix
    Administrator
    • Jan 2007
    • 67131

    FreeBSD 14.2 Beta 3 Released - FreeBSD Now Publishing OCI Container Images

    Phoronix: FreeBSD 14.2 Beta 3 Released - FreeBSD Now Publishing OCI Container Images

    The third weekly beta release of FreeBSD 14.2 is now available for testing ahead of the planned stable release in early December. Besides a few fixes notable to FreeBSD 14.2-BETA3 is that they are now putting out OCI container images among their release media...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
  • ahrs
    Senior Member
    • Apr 2021
    • 553

    #2
    Do they even have anything to consume these container images? I know there was once an attempt to port Docker but that was very lackluster when I last used that (admittedly ages ago now). It didn't have proper feature parity with Docker on Linux and I think some distros even switched from FreeBSD to Linux because of this (although I may be misremembering).

    Comment

    • cen1
      Senior Member
      • Aug 2016
      • 377

      #3
      Originally posted by ahrs View Post
      Do they even have anything to consume these container images? I know there was once an attempt to port Docker but that was very lackluster when I last used that (admittedly ages ago now). It didn't have proper feature parity with Docker on Linux and I think some distros even switched from FreeBSD to Linux because of this (although I may be misremembering).
      That docker port attempt is dead afaik.

      Comment

      • fahrenheit
        Phoronix Member
        • Dec 2012
        • 76

        #4
        Originally posted by ahrs View Post
        Do they even have anything to consume these container images? I know there was once an attempt to port Docker but that was very lackluster when I last used that (admittedly ages ago now). It didn't have proper feature parity with Docker on Linux and I think some distros even switched from FreeBSD to Linux because of this (although I may be misremembering).
        Yes, there are at least two implementations available, the main one being podman (including compose and buildah). It's still not marked as stable but in working condition.

        Comment

        • ehansin
          Senior Member
          • Oct 2016
          • 695

          #5
          Maybe a dumb question, but I assume to run a FreeBSD OCI container image that the container needs to run on a FreeBSD host system. I jumped into the container rabbit hole the last few days, installing and learning and using Distrobox, Podman, Docker, and the underlying pieces. Since containers use the host system kernel, namespacing other resources, I figure that has to be correct. But just in case I am missing anything... Also, does FreeBSD have something like CGROUPS or is there other mechanisms to provision resources?

          Comment

          • rb777
            Junior Member
            • Aug 2020
            • 9

            #6
            podman works as root user and I can run Linux containers, so no need for special Linux jails.

            Comment

            • patrakov
              Phoronix Member
              • Mar 2015
              • 110

              #7
              Fake news resulting from a misinterpreted commit.

              What they did was rename the misnamed "OCI" folder, which contained scripts to build QCOW2 images for use on the Oracle Cloud Infrastructure, and which was completely unrelated to Open Container Initiative.

              There is currently no known way to build or use Open Container Initiative compliant containers with FreeBSD.

              Comment

              • ehansin
                Senior Member
                • Oct 2016
                • 695

                #8
                Originally posted by ehansin View Post
                ... Also, does FreeBSD have something like CGROUPS or is there other mechanisms to provision resources?
                I may I have answered my own questions. I am guessing this uses FreeBSD Jails to achieve functionality. I'll have to dig deeper to see how Jails compares to CGROUP stuff, but makes sense and have heard for FreeBSD Jails.

                Comment

                • ehansin
                  Senior Member
                  • Oct 2016
                  • 695

                  #9
                  Originally posted by patrakov View Post
                  Fake news resulting from a misinterpreted commit.

                  What they did was rename the misnamed "OCI" folder, which contained scripts to build QCOW2 images for use on the Oracle Cloud Infrastructure, and which was completely unrelated to Open Container Initiative.

                  There is currently no known way to build or use Open Container Initiative compliant containers with FreeBSD.
                  That explains the + and - lines I was seeing in the change then. Ignore my other questions

                  Comment

                  • psmt
                    Junior Member
                    • Nov 2024
                    • 1

                    #10
                    There is currently no known way to build or use Open Container Initiative compliant containers with FreeBSD.
                    This isn't true. See Freebsd OCI playground and all other work related https://github.com/oci-playground/fr...podman-testing

                    The wrong commit has been linked in the article, the actual commit is https://github.com/freebsd/freebsd-s...24ae5980804ad7

                    The new OCI images can be found at https://ftp.freebsd.org/pub/FreeBSD/...es/OCI-IMAGES/

                    Comment

                    Working...
                    X