What is going on with Docker?
(while on linux one can use the docker command line tool without any docker desktop thing, on mac docker desktop wraps together running a linux vm to run the docker daemon & containers inside, making it the most straight forward way of running docker on mac)
On a Mac, you need to allocate a fixed amount of RAM to Docker, which isn't the case on other platforms where it can dynamically allocate and release as much as your containers demand.
It's very painful in workloads that need Docker. Especially on MacBooks where you can't upgrade the RAM to compensate.