Checkout App Tamer[1] to control the priority of processes as well as core assignment on the M series chips:
> App Tamer can take special advantage of Apple Silicon powered Macs, which have two different types of processor cores. Use it to automatically run busy background apps on the M1 or M2's efficiency cores to save power, leaving the performance cores for the apps you want to run fastest.
I get 6h or so running quite a few workloads in Kubernetes on Docker For Mac on Apple Silicon. Intel was < 2h. The rest of my team has similar experiences. Are you sure it's Docker causing your battery issues?
Docker is definitely a problem, although newer versions have implemented new functionality that may have significantly reduced this. I can't really tell however, as I'm stuck on too many Zoom calls all day long and Zoom absolutely murders my battery life.
I haven’t tested it personally but you may be able to get some of that battery life back by using the web version of Zoom in Safari. That tends to force video chat services to use hardware accelerated video codecs which are considerably easier on battery.
And that's not just for Mac's, the same can help on Linux devices. It's somewhat hilarious that running a non-native app gets you better hardware accel but here we are.
Orbstack runs Docker inside its own lightweight VM. It doesn't use any of Docker Desktop's virtualization. I'm not sure if it handles scheduling any better though.
(dev here) Yes. I've spent quite a bit of time on scheduling. It's more nuanced than what this article says and there are ways to influence it (but sorry, can't share too many details). OrbStack tends to use E cores more than other virtualization-based apps do on Apple Silicon, especially for heavy workloads.