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-squareMatt The Horwood@lemmy.horwood.cloudlinkfedilinkEnglisharrow-up5arrow-down8·2 days agoWhy 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
minus-squareHiTekRedNek@lemmy.worldlinkfedilinkEnglisharrow-up6arrow-down1·edit-22 days agoNo. 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
minus-squareMatt The Horwood@lemmy.horwood.cloudlinkfedilinkEnglisharrow-up4arrow-down1·2 days agoit 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
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.
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
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
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
deleted by creator
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.