@TheTwelveYearOld@lemmy.world to Linux@lemmy.worldEnglish • 10 months agomacOS 26 introduces the Containerization Framework: "enables developers to create, download, or run Linux container images directly on Mac"www.apple.comexternal-linkmessage-square25fedilinkarrow-up11arrow-down10cross-posted to: linux@lemmy.ml
arrow-up11arrow-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.world to Linux@lemmy.worldEnglish • 10 months agomessage-square25fedilinkcross-posted to: linux@lemmy.ml
minus-squareMatt The HorwoodlinkfedilinkEnglish0•10 months 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-squarelime!linkfedilinkEnglish0•10 months 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 HorwoodlinkfedilinkEnglish0•10 months 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!linkfedilinkEnglish0•10 months agowell docker on mac is a fully emulated x86 vm. everything is slow.
minus-squareThe_DecryptorlinkfedilinkEnglish0•10 months agoThat’s only if you’re running an x86 container right? It should be native with an ARM64 one.
minus-squarelime!linkfedilinkEnglish0•10 months agoyeah. last i had a mac there were no arm containers though.
minus-square@friend_of_satan@lemmy.worldlinkfedilinkEnglish0•edit-210 months 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-squareMatt The HorwoodlinkfedilinkEnglish0•10 months agoLooking at the docs, I think the current docker desktop is native arm. QEMU is now deprecated
minus-square@HiTekRedNek@lemmy.worldlinkfedilinkEnglish0•edit-210 months 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 HorwoodlinkfedilinkEnglish0•10 months 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
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
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.
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.
~~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.
Looking at the docs, I think the current docker desktop is native arm. QEMU is now deprecated
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