Docker just announced that its custom VM engine, Docker VMM, is now out of beta. Today, the new engine ships wide inside Docker Desktop 4.101. According to Docker, this fresh build tunes host VMs strictly for container work. Specifically, it speeds up key file tasks and hands idle RAM back to your host once jobs end.
Faster Code Searches and Free RAM Reclaim
At its core, Docker VMM builds and runs the Linux VM that hosts your containers. In Docker’s own speed tests, it showed strong gains during a first search across a large code repo. On Mac, Docker VMM ran 2.6 times faster than Apple’s built-in engine. Meanwhile, on Windows, it ran 19.5 times faster than WSL 2 and 7 times faster than Hyper-V. Still, Docker notes that WSL 2 stays faster when project files sit right inside the Linux file tree.
Giving Idle RAM Back to Your Host
Beyond file speed, Docker VMM solves a classic pain point for laptop devs: high RAM use. Once a container task wraps up, the engine frees idle RAM and returns it to your host OS. However, Windows users should note that WSL 2 can also free idle RAM on its own.
Key Limits to Weigh Before You Switch
Before changing your engine, devs on Windows and Mac should note a few clear limits.
Separate Disk Images and GPU Limits on Windows
First, each Windows VM engine stores data in its own disk file. As a result, images, containers, and volumes from an older engine will not show up after you switch to Docker VMM. Luckily, your old data stays safe if you switch back later.
In addition, Docker VMM on Windows does not yet back container GPU passthrough. It also cannot mount paths stored inside a WSL distro’s own file tree. Therefore, if your work needs an NVIDIA GPU, you should stay on the WSL 2 engine for now.
Apple Silicon Only and No Rosetta on Mac
Next, Mac users face chip and speed limits. Right now, Docker VMM on Mac works only on Arm-based Apple Silicon Macs. Moreover, it does not back Rosetta yet, so running amd64 images feels quite slow.
How to Switch Engines in Docker Desktop
Finally, you can switch engines at will inside Docker Desktop today, though Docker plans to make VMM the default engine soon. To make the switch, open Settings, click General, choose Virtual Machine Manager, and pick Docker VMM or your OS engine.
Support Our Threat Intelligence
Find our tech and OS security coverage helpful? Support our work today and unlock a 100% ad-free reading experience!