Hacker News new | ask | show | jobs
by ogre_codes 2005 days ago
Yeah, fundamentally Docker is Linux on Linux. If you are running Linux on MacOS, it's not Docker, it's a VM. So Docker installs are Linux Docker Image -> Linux VM -> MacOS Virtualization Framework.

For that reason alone, I suspect Linux will always be the best host system for Docker images.

2 comments

On Windows Docker uses Windows containers for Windows images and WSL for Linux images, so whatever is the best host depends on the images.
WSL is a Linux VM, though.
> I suspect Linux will always be the best host system for Docker images.

It seems that for more than 1-2 containers, running Docker inside a Linux VM on macOS is better resource-wise.