TheTwelveYearOld@lemmy.world to Linux@lemmy.worldEnglish · 2 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-up197arrow-down16cross-posted to: linux@lemmy.ml
arrow-up191arrow-down1external-linkmacOS 26 introduces the Containerization Framework: "enables developers to create, download, or run Linux container images directly on Mac"www.apple.comTheTwelveYearOld@lemmy.world to Linux@lemmy.worldEnglish · 2 days agomessage-square31fedilinkcross-posted to: linux@lemmy.ml
minus-squarelime!@feddit.nulinkfedilinkEnglisharrow-up11·2 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 Horwood@lemmy.horwood.cloudlinkfedilinkEnglisharrow-up1arrow-down3·2 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!@feddit.nulinkfedilinkEnglisharrow-up5arrow-down2·2 days agowell docker on mac is a fully emulated x86 vm. everything is slow.
minus-squareMatt The Horwood@lemmy.horwood.cloudlinkfedilinkEnglisharrow-up4·2 days agoLooking at the docs, I think the current docker desktop is native arm. QEMU is now deprecated
minus-squarefriend_of_satan@lemmy.worldlinkfedilinkEnglisharrow-up2·edit-22 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!@feddit.nulinkfedilinkEnglisharrow-up1·2 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_Decryptor@aussie.zonelinkfedilinkEnglisharrow-up1·2 days agoThat’s only if you’re running an x86 container right? It should be native with an ARM64 one.
minus-squarelime!@feddit.nulinkfedilinkEnglisharrow-up2·2 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.