TheTwelveYearOld@lemmy.world to Linux@lemmy.worldEnglish · 7 days agomacOS 26 introduces the Containerization Framework: "enables developers to create, download, or run Linux container images directly on Mac"www.apple.comexternal-linkmessage-square26fedilinkarrow-up11arrow-down10cross-posted to: linux@lemmy.mllinux@programming.dev
arrow-up11arrow-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 · 7 days agomessage-square26fedilinkcross-posted to: linux@lemmy.mllinux@programming.dev
minus-squarelime!@feddit.nulinkfedilinkEnglisharrow-up0·7 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-up0·7 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-up0·7 days agowell docker on mac is a fully emulated x86 vm. everything is slow.
minus-squareMatt The Horwood@lemmy.horwood.cloudlinkfedilinkEnglisharrow-up0·6 days agoLooking at the docs, I think the current docker desktop is native arm. QEMU is now deprecated
minus-squarefriend_of_satan@lemmy.worldlinkfedilinkEnglisharrow-up0·edit-26 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 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-squareThe_Decryptor@aussie.zonelinkfedilinkEnglisharrow-up0·6 days agoThat’s only if you’re running an x86 container right? It should be native with an ARM64 one.
minus-squarelime!@feddit.nulinkfedilinkEnglisharrow-up0·6 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
~~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 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.
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.