Rhymelikedime
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
TheTwelveYearOld@lemmy.world to Linux@lemmy.worldEnglish · 1 day ago

macOS 26 introduces the Containerization Framework: "enables developers to create, download, or run Linux container images directly on Mac"

www.apple.com

external-link
message-square
31
fedilink
  • cross-posted to:
  • linux@lemmy.ml
86
external-link

macOS 26 introduces the Containerization Framework: "enables developers to create, download, or run Linux container images directly on Mac"

www.apple.com

TheTwelveYearOld@lemmy.world to Linux@lemmy.worldEnglish · 1 day ago
message-square
31
fedilink
  • cross-posted to:
  • linux@lemmy.ml
Apple supercharges its tools and technologies for developers
www.apple.com
external-link
Apple announced new technologies and enhancements to its developer tools to help developers create more beautiful, intelligent, and engaging apps.
alert-triangle
You must log in or register to comment.
  • Treczoks@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 hours ago

    So Apple computers actually turn useful?

  • steeznson@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 hours ago

    I looks like it only allows 1 virtual machine at a time so docker-compose wouldn’t work

  • unalivejoy@lemmy.zip
    link
    fedilink
    English
    arrow-up
    28
    ·
    24 hours ago

    WSL for Mac?

    • GolfNovemberUniform@infosec.pub
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 hours ago

      MSL that is.

    • TheTwelveYearOld@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      23 hours ago

      Yeah pretty much.

    • hera@feddit.uk
      link
      fedilink
      English
      arrow-up
      3
      ·
      21 hours ago

      I wonder if you could run WSL under Wine…

    • Matt The Horwood@lemmy.horwood.cloud
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      7
      ·
      21 hours ago

      Why do you need WSL?

      MacOS is BSD, so you can do most Linux things with an issue. But some of the BSD tools have different options the the GNU tools.

      We moved to Mac years ago and it makes doing almost everything I do a simples

      • HiTekRedNek@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        edit-2
        11 hours ago

        No. Mac is NOT BSD. Mac took the BSD user space from 20+ years ago. That’s all.

        I’m not sure why this myth keeps being repeated over and over.

        If that’s all it takes to “be” BSD, then windows is also BSD since the entire windows network stack was lifted from BSD

        • Matt The Horwood@lemmy.horwood.cloud
          link
          fedilink
          English
          arrow-up
          3
          ·
          11 hours ago

          it looks like a unix system enough that I can run most of my shell scripts, Windows on the other hand can get in the bin please

      • lime!@feddit.nu
        link
        fedilink
        English
        arrow-up
        10
        ·
        21 hours ago

        because docker. it hard requires a linux kernel and is extremely slow on mac, just like it was on windows until they integrated with wsl.

        • Matt The Horwood@lemmy.horwood.cloud
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          2
          ·
          20 hours ago

          I see, I don’t use docker all that much on my works Mac. So haven’t noticed the speed.

          Also is it the storage share that’s slow? As docker desktop is a VM

          • lime!@feddit.nu
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            2
            ·
            20 hours ago

            well docker on mac is a fully emulated x86 vm. everything is slow.

            • Matt The Horwood@lemmy.horwood.cloud
              link
              fedilink
              English
              arrow-up
              3
              ·
              13 hours ago

              Looking at the docs, I think the current docker desktop is native arm. QEMU is now deprecated

              • lime!@feddit.nu
                link
                fedilink
                English
                arrow-up
                1
                ·
                13 hours ago

                oh nice!

            • friend_of_satan@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              edit-2
              11 hours ago

              ~~It’s not that slow. https://www.imore.com/tests-show-apples-m1-emulates-x86-faster-intel-can-run-it-natively~~

              Edit: actually I just benchmarked it and containerized x86 Linux runs at like 40% of native speed. So yeah, that’s pretty freakin slow.

              FWIW arm64 containers ran at nearly native speed, so it’s the x86 emulation that seems to be causing the slowdown.

              • lime!@feddit.nu
                link
                fedilink
                English
                arrow-up
                1
                ·
                13 hours ago

                yeah last i worked with it i was the first person in the company to evaluate the arm macs, and it basically couldn’t run our application at all. took a full 40 minutes to spin up, then crashed.

            • The_Decryptor@aussie.zone
              link
              fedilink
              English
              arrow-up
              1
              ·
              15 hours ago

              That’s only if you’re running an x86 container right? It should be native with an ARM64 one.

              • lime!@feddit.nu
                link
                fedilink
                English
                arrow-up
                2
                ·
                13 hours ago

                yeah. last i had a mac there were no arm containers though.

  • CoyoteFacts@piefed.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    16 hours ago

    I wonder if this opens up any new opportunities for cool Distrobox usecases.

    • trevor (he/they)@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 hours ago

      You can already sort of hack distrobox-like functionality, but the biggest problem with doing so is that there’s no Wayland or X11 server running on macOS, so GUI applications don’t work unless you install something like XQuartz, and even then, it’s a pretty janky experience.

  • henfredemars@infosec.pub
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    24 hours ago

    That’s very cool! But, my work needs to run proprietary x86 containers not ARM ones. We are sadly being “forced” (they rather still not turn to open source software) to move to Windows. It’s a shame.

    • TheTwelveYearOld@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      8
      ·
      23 hours ago

      I haven’t checked but it should be possible?

      macOS has had support for x64 binaries in Linux VMs for a few years now, using their Rosetta 2 translation layer.

      • jacksilver@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        23 hours ago

        I’ve been using colima for x64 emulation. This blog talks a little bit about it, but basically you start colima in either arm or x64 mode and then can run that type of image - https://blog.barakimam.me/running-vs-code-devcontainers-with-x8664-runtime-on-apple-silicon

      • lime!@feddit.nu
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        21 hours ago

        the performance isn’t there yet, unfortunately.

    • vga@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      3
      ·
      20 hours ago

      Linux isn’t an option?

  • ElcaineVolta@kbin.melroy.org
    link
    fedilink
    arrow-up
    5
    ·
    23 hours ago

    like a macpak?

  • Bobby Turkalino@lemmy.yachts
    link
    fedilink
    English
    arrow-up
    1
    ·
    21 hours ago

    deleted by creator

    • vga@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      18 hours ago

      Docker to my knowledge still requires a real Linux running somewhere, somehow. In MacOS, it has traditionally been some sort of a VM running under the hood via docker-machine. As this is emulationvirtualization, it has a rather severe overhead.

      This containerization framework sounds like it might enable a more light-weight version of Linux, somewhat similar to what Windows has had via WSL for some time.

      • FooBarrington@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        20 hours ago

        docker-machine doesn’t use emulation, it’s virtualization.

        • vga@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          1
          ·
          18 hours ago

          Yeah, good catch

  • Glitch@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    21 hours ago

    I hope I can run ollama in a container with full power, can’t install it natively on my work computer

    • Badabinski@kbin.earth
      link
      fedilink
      arrow-up
      4
      ·
      20 hours ago

      Still uses VMs, although it’s 1 VM per container.

Linux@lemmy.world

linux@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.world

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you’re a seasoned Linux enthusiast or just starting your journey, we’re excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let’s dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 282 users / day
  • 918 users / week
  • 1.57K users / month
  • 4.87K users / 6 months
  • 2 local subscribers
  • 11.1K subscribers
  • 1.01K Posts
  • 8.13K Comments
  • Modlog
  • mods:
  • MigratingtoLemmy@lemmy.world
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org