@TheTwelveYearOld@lemmy.worldcake to Linux@lemmy.worldEnglish • 11 days agomacOS 26 introduces the Containerization Framework: "enables developers to create, download, or run Linux container images directly on Mac"www.apple.comexternal-linkmessage-square31fedilinkarrow-up198arrow-down16cross-posted to: linux@programming.devlinux@lemmy.ml
arrow-up192arrow-down1external-linkmacOS 26 introduces the Containerization Framework: "enables developers to create, download, or run Linux container images directly on Mac"www.apple.com@TheTwelveYearOld@lemmy.worldcake to Linux@lemmy.worldEnglish • 11 days agomessage-square31fedilinkcross-posted to: linux@programming.devlinux@lemmy.ml
minus-squarelime!linkfedilinkEnglish11•11 days agobecause docker. it hard requires a linux kernel and is extremely slow on mac, just like it was on windows until they integrated with wsl.
minus-squareMatt The HorwoodlinkfedilinkEnglish-2•11 days agoI 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
minus-squarelime!linkfedilinkEnglish2•11 days agowell docker on mac is a fully emulated x86 vm. everything is slow.
minus-squareMatt The HorwoodlinkfedilinkEnglish4•10 days agoLooking at the docs, I think the current docker desktop is native arm. QEMU is now deprecated
minus-square@friend_of_satan@lemmy.worldlinkfedilinkEnglish2•edit-210 days 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.
minus-squarelime!linkfedilinkEnglish1•10 days agoyeah 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.
minus-squareThe_DecryptorlinkfedilinkEnglish1•10 days agoThat’s only if you’re running an x86 container right? It should be native with an ARM64 one.
minus-squarelime!linkfedilinkEnglish2•10 days agoyeah. last i had a mac there were no arm containers though.
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.
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
well docker on mac is a fully emulated x86 vm. everything is slow.
Looking at the docs, I think the current docker desktop is native arm. QEMU is now deprecated
oh nice!
~~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.
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.
That’s only if you’re running an x86 container right? It should be native with an ARM64 one.
yeah. last i had a mac there were no arm containers though.