Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by soulofmischief on Monday October 30, 2023 @09:08PM
(#38078650)
Not just that, but if you're not running ARM images then it's running a VM for your docker images to boot. It's just mind-blowing how many containers I have running and my laptop is cool to the touch, and at full battery.
[ Parent
| on HN ]
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by hk1337 on Monday October 30, 2023 @09:38PM
(#38078982)
You’re running a VM either way on a Mac. Docker without a VM is only available on Linux
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by soulofmischief on Monday October 30, 2023 @09:54PM
(#38079141)
Yep! But at least it can leverage hyperkit and vastly reduce overhead when running images of matching architecture.
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by sigjuice on Monday October 30, 2023 @10:42PM
(#38079560)
hyperkit does not run on ARM Macs
$ brew install hyperkit
hyperkit: The x86_64 architecture is required for this software.
Error: hyperkit: An unsatisfied requirement failed this build.
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by soulofmischief on Tuesday October 31, 2023 @05:03AM
(#38081975)
Oh I didn't realize, thanks for pointing that out. I guess they'll have to rely on the new virtualization framework going forward.
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by SparkyMcUnicorn on Monday October 30, 2023 @09:54PM
(#38079142)
MacOS can run MacOS containers natively, but I understand that's not much help for most people.
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by hk1337 on Monday October 30, 2023 @10:22PM
(#38079398)
That’s interesting. It’s in 0.0.1 version though but it seems like a possible drop in replacement
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by chupasaurus on Tuesday October 31, 2023 @03:39AM
(#38081366)
Without network, IPC, PID and cgroup namespaces replacements it's not even close. How Windows Server does it? By using parts of Hyper-V.
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by mbreese on Monday October 30, 2023 @10:45PM
(#38079582)
Yeah, but that also requires disabling SIP, so you still might want to run it in a VM.
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by irusensei on Tuesday October 31, 2023 @06:09AM
(#38082490)
Aw. I wish there was a way to isolate corpoware crap like Citrix into its own little jail. Kinda like {tool,distro}box on Linux.
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by pjmlp on Tuesday October 31, 2023 @03:20AM
(#38081231)
And on Windows while running Windows containers.
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by als0 on Tuesday October 31, 2023 @04:58AM
(#38081941)
Before anyone else gets confused...Windows containers are only for Windows applications. If you have a Linux environment in your Docker image, then it's running on a VM. https://learn.microsoft.com/en-us/virtualization/windowscont...
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by pjmlp on Tuesday October 31, 2023 @05:11AM
(#38082045)
Of course, what is there to be confused about?
It say it clearly on the name, Windows containers.
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by 0x6c6f6c on Monday October 30, 2023 @09:23PM
(#38078822)
This isn't as much the case anymore. There are typically arm64 images available for the more popular images, and anything you build locally is native, unless you're trying to build x86 software.
Redis, Memcached, PostgreSQL, MySQL- it's all native arm64 images now.
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by soulofmischief on Monday October 30, 2023 @09:32PM
(#38078923)
> if you're not running ARM images
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by mat_epice on Monday October 30, 2023 @09:45PM
(#38079056)
The point was that there is rarely a reason to not run ARM images, since they’re widely available.
If I’m running M3 images on my Ryzen, performance is gonna be horrible, but why would I?
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by soulofmischief on Monday October 30, 2023 @09:48PM
(#38079084)
Today? Sure. Thus my statement, which came with a caveat about not running ARM images, the implication being that it's a rare thing today.
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by mr_toad on Monday October 30, 2023 @09:53PM
(#38079131)
Even using ARM images you still need a VM because the MacOS kernel is not a Linux kernel, and containers rely on features of that kernel.
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by steve1977 on Tuesday October 31, 2023 @05:54AM
(#38082376)
That only really helps if you also want to deploy on arm64. Developing on one architecture and deploying on another would kind of destroy on of the advantages of containers.
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by jncfhnb on Monday October 30, 2023 @09:23PM
(#38078815)
Do note that cool to the touch is a bad thing if the internals are otherwise hot
Re:Apple unveils M3, M3 Pro, and M3 Max, the most advanced c...
by soulofmischief on Monday October 30, 2023 @09:32PM
(#38078915)
If the all-aluminum chassis remains cool to the touch despite boiling internals, that's impressive in its own right :-)