4 ms·
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 run
by soulofmischief 3y ago
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.
- jncfhnb 3y agoDo note that cool to the touch is a bad thing if the internals are otherwise hot
- soulofmischief 3y agoIf the all-aluminum chassis remains cool to the touch despite boiling internals, that's impressive in its own right :-)
- 0x6c6f6c 3y agoThis 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.
- soulofmischief 3y ago> if you're not running ARM images
- mat_epice 3y agoThe 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?
- soulofmischief 3y agoToday? Sure. Thus my statement, which came with a caveat about not running ARM images, the implication being that it's a rare thing today.
- mr_toad 3y agoEven 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.
- steve1977 3y agoThat 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.
- hk1337 3y agoYou’re running a VM either way on a Mac. Docker without a VM is only available on Linux. EDIT I get your intent though because it runs better when the images match the host.
- soulofmischief 3y agoYep! But at least it can leverage hyperkit and vastly reduce overhead when running images of matching architecture.
- sigjuice 3y agohyperkit 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.
- soulofmischief 3y agoOh I didn't realize, thanks for pointing that out. I guess they'll have to rely on the new virtualization framework going forward.
- SparkyMcUnicorn 3y agoMacOS can run MacOS containers natively, but I understand that's not much help for most people. https://macoscontainers.org/ https://macoscontainers.org/
- hk1337 3y agoThat’s interesting. It’s in 0.0.1 version though but it seems like a possible drop in replacement
- chupasaurus 3y agoWithout network, IPC, PID and cgroup namespaces replacements it's not even close. How Windows Server does it? By using parts of Hyper-V.
- deleted 3y ago[deleted]