I sometimes wonder what the overhead of Docker costs on a Mac. The fact that you have to run a whole linux VM, with guest OS, then send data back and forth over that, especially with volume mapping. I'm sure it can be quantified over running linux directly on the same hardware.
My machine (MacBook Pro 13-inch, 2018, 2.7 GHz Quad-Core Intel Core i7, 16 GB 2133 MHz LPDDR3) often runs screaming hot (with screaming fans too), when I only have a browser, zoom, docker and IntelliJ running, and I wonder what went wrong.