Docker VMM is now generally available. It’s the virtualization layer Docker built from scratch to run underneath Docker Desktop, and it ships on macOS, Windows (x86) and Linux with Docker Desktop 4.101. Docker says common real-world tasks run about twice as fast, and the VM gives memory back to the host once containers finish.
The feature spent several months in beta. Docker will move to it gradually as the default for new installs. Existing users stay on their current backend unless they choose to switch, and the other backends remain supported.
Why Docker wrote its own VMM
Docker Desktop runs Linux containers on Mac and Windows by creating a Linux VM and handling host networking and file sharing. A virtual machine monitor, or VMM, creates that VM using the host operating system’s native virtualization tools. Until now Docker Desktop relied on third-party VMM technology for this.
Owning the layer lets Docker tune it for containers and fix problems itself when something fails underneath. Docker lists these benefits:
- Isolation: a fully isolated VM on every platform. On Windows, it matches the isolation of Hyper-V while searching a large codebase about seven times faster.
- Stability: Docker creates and manages the VM, so it no longer depends on an environment it doesn’t control.
- One layer everywhere: Docker Desktop and Docker Sandboxes use the same virtualization technology on all three platforms, so organizations evaluate and secure one layer.

Memory goes back to the machine
Memory held by Docker Desktop’s VM is memory the browser and IDE can’t use. Some backends reserve a fixed amount up front. Others grow on demand but never shrink. On Windows, the Hyper-V backend reserves the VM’s full allocation and holds it the whole time, while WSL 2 already reclaims memory.
With Docker VMM, containers still get more memory when they need it, but the VM returns it when they finish. Docker describes it as WSL 2’s memory behavior with Hyper-V’s isolation, in a standalone VM that Docker manages. Heavy jobs such as large image builds, test suites with databases or a local Kubernetes cluster can take what they need without leaving it locked afterward.

Speed gains in the project folder
Bind mounts share a project folder from the host into a container, and dev containers and Compose services depend on them. Docker tested with the PostHog repository, a large open-source monorepo. The first search across the whole repository ran 2.6 times faster on Mac. On Windows it ran 19.5 times faster than WSL 2 and 7.0 times faster than Hyper-V.
Creating a second git working copy with git worktree add was 2.2 times faster on Mac. On Windows it was 6.8 times faster than WSL 2 and 3.7 times faster than Hyper-V.
Underlying file operations improved too. Many small files, the pattern behind npm install, saw 2.3 times on Mac, 4.6 times against WSL 2 and 6.4 times against Hyper-V. Mixed random reads and writes, as in tsc, jest or pytest runs, improved 1.7 times on Mac. Random reads from a large file, such as a SQLite development database, improved 1.4 times on Mac.

Faster disk inside containers
A container’s own writable layer lives on the VM’s disk. That is where throwaway test databases keep their data, for example Postgres, MySQL, Redis or MongoDB started by Testcontainers. Random reads from a large file ran 1.4 times faster on Mac, 2.1 times against WSL 2 and 1.7 times against Hyper-V. Random writes were 1.5 times faster on Mac and 1.3 times against both Windows backends.
Image builds gain less. Copying a large source tree into an image was 1.2 times faster on Mac and against WSL 2, and about the same as Hyper-V.
How Docker measured it
The tests ran on a MacBook Pro with an M5 Max and a Dell XPS 15 with an Intel Core i9-13900H. Each VM got 18 CPUs and 16 GiB of memory. Figures are medians of repeated runs, with test order varied. On Windows the project folder sat on the Windows drive. Docker notes that for WSL 2 it recommends keeping code inside the WSL file system, which is faster on that backend. Docker has also published a reproduction guide.
How to turn it on and what comes next
Update to Docker Desktop 4.101, open Settings, go to General, then Virtual Machine Options, and choose Docker VMM. You can switch back the same way. Organizations that use Settings Management can set the VMM centrally.
Docker says it will keep working on container performance, and it plans governance over the VM boundary and visibility into process activity inside the VM. Apple’s Virtualization framework, WSL 2, Hyper-V and QEMU on Linux stay supported.
Source: Docker