Docker VMM, the virtual machine layer Docker built to run under Docker Desktop, is now generally available. Docker announced it in a launch post on 1 December (US time), with Docker Desktop 4.101 for Apple silicon Macs, Windows on x86 and Linux. The company says common tasks run about twice as fast and that memory goes back to the machine when containers finish.
Nothing changes for anyone who already uses Docker Desktop. Existing installs stay on their current backend, and Docker says it will make Docker VMM the default for new installs gradually. Apple’s Virtualization framework, WSL 2, Hyper-V and QEMU on Linux all stay supported.
I read the launch post, the Virtual Machine Manager documentation, the 4.101 release notes and the benchmark tables behind Docker’s charts. This piece covers what ships, what the numbers show, how it compares with the other ways to run containers on a laptop, and what to check before you switch.
- What shipped
- How it got here
- Memory goes back to the machine
- The speed numbers
- Reading the numbers
- Isolation, Sandboxes and agents
- Where it sits among the alternatives
- Before you switch
- Switching, and checking it yourself
2.6x
faster first code search on a Mac, against Apple Virtualization
19.5x
faster first code search on Windows, against WSL 2 with the code on the Windows drive
About 2 GiB
still held by Docker VMM after a memory-heavy job, against about 10.6 GiB on a Mac with Apple Virtualization
What shipped
Docker Desktop makes Linux containers run on Mac and Windows by creating a Linux virtual machine and handling the networking and file sharing between it and the host. The virtual machine monitor, or VMM, is the layer that creates that VM using the host’s own virtualisation tools. Docker Desktop has relied on third-party VMMs until now. Docker VMM is Docker’s own, and the company says it can now tune every part of the engine for container workloads.
| Platform | What Docker VMM needs | Other backends that stay |
|---|---|---|
| Mac | Apple silicon | Apple Virtualization framework (the Mac default), HyperKit on Intel Macs |
| Windows | x86_64, with Windows Hypervisor Platform and Virtual Machine Platform turned on. Arm isn’t supported | WSL 2 (the default), Hyper-V on all-users installs |
| Linux | Docker Desktop 4.98 or later, and KVM access | QEMU (the default) |
Docker VMM needs at least 4 GB of memory allocated to the Docker VM. If you have less, Docker Desktop asks you to confirm and raises it to 4 GB for you.
How it got here
The name has covered two different engines. Docker Desktop 4.35 shipped a beta of Docker VMM for Apple silicon Macs in October 2024, and the docs say that version ran on libkrun through 4.85. From Docker Desktop 4.86 it’s Docker’s own implementation. That rebuilt VMM went to public beta on Mac and Windows in August, and Docker said at the time that GA was targeted for the end of October, when Docker VMM would become the default engine for new installs on Mac, Windows and Linux.
GA arrived on 1 December, about a month after that target, and the default change is now described as gradual. Docker’s docs list Linux support from 4.98.
The release notes show some of what happened in between. Docker 4.92 fixed single-file bind mounts on Docker VMM. Docker Desktop 4.100 switched new Docker VMM installs on Windows from a VHDX disk image to a sparse raw one, DockerDesktop.raw, to prevent meta.db corruption. Existing installations keep their disk format.
Memory goes back to the machine
Memory is where the release is easiest to judge. Docker Desktop usually sits in the background, so memory its VM holds is memory your browser and editor can’t use. Docker says some backends reserve a fixed amount up front and keep all of it, and others start small, grow as containers need more and keep what they grew to. On Windows, the Hyper-V backend reserves the VM’s whole allocation for as long as it runs. WSL 2 already hands memory back.
With Docker VMM, containers still get more memory when they need it. When they finish, the memory returns to the host. Docker’s own chart runs a job that fills half the VM and then exits. On the Mac, Apple Virtualization keeps about 10.6 GiB held afterwards and Docker VMM drops back to about 2 GiB within seconds. On Windows, Hyper-V holds about 16.8 GiB throughout, while WSL 2 and Docker VMM both fall back to about 2 GiB, with WSL 2’s curve taking longer to settle. The chart doesn’t print those values, so I read them off the axes.

Docker’s summary for Windows is that Docker VMM gives you “WSL 2’s memory behavior with Hyper-V’s isolation, in a standalone VM that Docker creates and manages.” For anyone who picked Hyper-V for the isolation, that ends the RAM cost.
The speed numbers
Docker split its speed checks into two kinds. A bind mount shares your project folder from the host into a container, which is how a Compose service or a dev container sees your code. The container’s own file system is a writable layer on the VM’s disk, where database files, caches and image layers live. Most checks use the PostHog repository, a large open-source monorepo, as the project.
On the Mac, Docker compared Docker VMM against Apple Virtualization on a MacBook Pro with an M5 Max, with the VM given 18 CPUs and 16 GiB. Each figure is a median of repeated runs.
| Check | What it runs | Apple Virtualization | Docker VMM | Change |
|---|---|---|---|---|
| First code search | One ripgrep search across a fresh PostHog checkout, through a bind mount | 4.22 s | 1.63 s | 2.6x |
| Second working copy | git worktree add of a fresh PostHog checkout, through a bind mount | 17.29 s | 7.75 s | 2.2x |
| Many small files | Create, stat, read and delete 10,000 tiny files on a bind mount | 6.01 s | 2.58 s | 2.3x |
| Mixed random reads and writes | stress-ng --hdd churn on a bind mount | 39,500 ops/s | 67,900 ops/s | 1.7x |
| Random reads, project folder | fio, 25,000 random 4 KiB reads from a 1 GiB file on a bind mount | 814 ms | 569 ms | 1.4x |
| Random reads, container file system | fio, 25,000 random 4 KiB reads from a 1 GiB file, including creating it | 1.84 s | 1.34 s | 1.4x |
| Random writes, container file system | fio, 25,000 random 4 KiB writes to a 1 GiB file, no fsync after each | 1.70 s | 1.12 s | 1.5x |
| Image build with copied source | Build an image containing a fresh PostHog checkout: context transfer, COPY, export and registration | 18.74 s | 15.81 s | 1.2x |
On Windows, Docker used a Dell XPS 15 with an Intel Core i9-13900H and the same 18 CPUs and 16 GiB, and compared Docker VMM with both WSL 2 and Hyper-V.
| Check | WSL 2 | Hyper-V | Docker VMM | Change vs WSL 2 | Change vs Hyper-V |
|---|---|---|---|---|---|
| First code search | 144 s | 51.9 s | 7.39 s | 19.5x | 7.0x |
| Second working copy | 408 s | 222 s | 60 s | 6.8x | 3.7x |
| Many small files | 78 s | 108 s | 16.9 s | 4.6x | 6.4x |
| Mixed random reads and writes | 1,140 ops/s | 2,040 ops/s | 2,390 ops/s | 2.1x | 1.2x |
| Random reads, project folder | 4.08 s | 5.82 s | 1.26 s | 3.2x | 4.6x |
| Random reads, container file system | 4.47 s | 3.72 s | 2.15 s | 2.1x | 1.7x |
| Random writes, container file system | 1.46 s | 1.42 s | 1.10 s | 1.3x | 1.3x |
| Image build with copied source | 27.6 s | 24.5 s | 23.7 s | 1.2x | 1.0x |

Docker links the checks to everyday jobs. Its post maps the many-small-files check to npm install into node_modules or composer install into vendor/, and the mixed read-write check to tsc, jest, pytest and go test. It maps the container-disk checks to throwaway test databases started by Testcontainers or Compose, and the image build to the COPY and RUN npm install steps of a Dockerfile.
Reading the numbers
The headline says “about twice as fast on common tasks.” Docker’s own Mac table runs from 1.2x to 2.6x, and the Windows image build against Hyper-V comes out at 1.0x. The biggest gains are in work that crosses the host boundary through a bind mount, which is the slow path on every desktop backend. Checks that stay on the container’s own disk improve by 1.3x to 1.5x on the Mac, and the plain image build by 1.2x.
The Windows baseline needs one condition, and Docker states it under the tables. The project folder sits on the Windows drive, where Windows editors and tools can see it, and is shared into the VM. For WSL 2, Docker recommends keeping code inside the WSL file system instead, which it says is faster on that backend. The 19.5x code search is measured against WSL 2 with the code on the Windows drive, and Docker didn’t publish a WSL 2 number for the recommended layout.
Docker’s own reproduction guide says to treat differences under about 20 per cent as noise, and notes that one check drifted from 235 ms to 180 ms over 20 minutes as the daemon and file cache settled. Both image-build results sit at or inside that line.
The results come from one MacBook and one Dell laptop, and Docker says it ran the suite across multiple iterations in differing order. The Mac comparison is against Apple Virtualization, the Mac default, and not against third-party runtimes. The launch post publishes no start-up figures, although the docs list faster engine and container start-up among the benefits. The guide also lists Compose start-up and Kubernetes install checks, and the post doesn’t report results for them.
Isolation, Sandboxes and agents
Docker also pitches Docker VMM as isolation. The post says it runs a fully isolated VM on every platform, and adds: “That boundary matters more now that developers run AI agents and generate code on their laptops.” The docs describe it on Windows as “a stable alternative to WSL 2 with a real VM boundary between the container environment and the host.” On Mac and Windows, Docker Desktop’s containers already ran inside a Linux VM. What changes is that Docker now controls that VM instead of renting one from the operating system.
Docker says Docker Desktop and Docker Sandboxes, its microVM environments for coding agents, now run on the same virtualisation technology on macOS, Windows and Linux. My piece on the Docker rebrand covers why the company is putting microVM sandboxes underneath its agent pitch, and the Canadian AI Safety Institute’s containment guidelines are the other side of that argument: they prefer hardware-isolated VMs to plain containers for risky agent work.
The post also says owning the layer gives organisations visibility into, and governance over, the VM their containers run in, including control over what crosses its boundary. Docker doesn’t name specific controls in the launch post. Teams that manage Docker Desktop with Settings Management can set the VMM there.
Where it sits among the alternatives
Handing idle memory back isn’t new on the Mac. OrbStack added dynamic memory in version 1.7.0 in August 2024. In its own words, it tracks which parts of the VM’s RAM are in use and releases the rest to other apps. What’s new is that Docker Desktop’s own VMM now does it, and Docker’s comparison is against Apple Virtualization, not OrbStack.
Apple has its own route. Its container tool runs each Linux container as a lightweight VM on a Mac, takes standard OCI images, needs Apple silicon, and is designed for macOS 26 or later. Colima, Podman Desktop and Rancher Desktop are the other common ways to run containers on a laptop, and Docker’s launch doesn’t compare against any of them.
Before you switch

- Images, containers and volumes don’t move between VMMs. Docker’s docs say so in the Windows switching steps. Export anything you can’t re-pull before you change backend.
- No Rosetta on the Mac. Emulating amd64 images is slow on Docker VMM, and Docker says it’s exploring solutions.
- MongoDB and Cassandra on the Mac. The docs say certain databases may fail on virtiofs with Docker VMM, and that Docker expects to fix it in a future release.
- Windows installs. The all-users installer turns on the required Windows features when you pick Docker VMM. A per-user install can’t, so an administrator has to run
Enable-WindowsOptionalFeature -Online -FeatureName HypervisorPlatform -Alland restart. Hardware virtualisation must be on in the BIOS or UEFI, and a Docker Desktop that runs inside a VM needs nested virtualisation from its host. - Shared folders. On Windows, Docker Desktop asks you to share a bind-mounted directory that isn’t shared, and declining gives a
not shared from the hosterror. On Mac and Linux, add directories outside the defaults under Settings, Resources, File sharing. - Restarts. Docker says a restart of Docker Desktop may be needed after switching.
Switching, and checking it yourself
- Update to Docker Desktop 4.101.
- Open Settings, then General, then the virtual machine option (the launch post calls it Virtual Machine Options and the docs call it Virtual Machine Manager), choose Docker VMM and select Apply & restart. Switching back works the same way.
- Record your environment before you measure:
docker version,docker infoanduname -a, plus the VM’s CPU and memory limits, the virtualisation backend and the file-sharing implementation. Docker says any one of those can change a result by more than a factor of two. - Pick a check from the guide. It lists 14, from first
git statusand code search in a shared repository to image builds, multi-service Compose start-up and a Kubernetes install, and times each with the shell’stimekeyword or a clock read inside the container. - Start each run from a fresh copy of the source, and empty the engine’s file cache between runs with the command below.
- Measure two backends on the same machine. Docker says the difference you see should match its published difference, and that a standard deviation above about 15 per cent of the mean means something on the machine is interfering.
docker run --rm --privileged alpine:3.24 sh -c 'sync && echo 3 > /proc/sys/vm/drop_caches'
Docker says it will keep publishing how it measures, and that one virtualisation layer across the three platforms means improvements reach every platform at once. It hasn’t given a date for making Docker VMM the default, for Rosetta support on the Mac or for the MongoDB fix.




