Sulat.com / Writing on AIWednesday, December 2, 2026
Enter →
Developer Tools/2 December 2026

Docker VMM is now generally available

Docker's own virtual machine layer is now generally available in Docker Desktop 4.101 on Mac, Windows and Linux, with faster file access and memory handed back after a job.

Glossy 3D Docker whale logo above a silver laptop, beside a glass cube of blue memory chips lifting out and a second cube still full
Illustration: Sulat, featuring the Docker logo

At a glance

  • Docker VMM, Docker's own virtual machine layer for Docker Desktop, is generally available in 4.101 on Apple silicon Macs, Windows on x86 and Linux.
  • Docker's headline is about twice as fast, but its own Mac table runs from 1.2x to 2.6x, and the biggest gains come from bind-mounted project folders.
  • After a memory-heavy job, Docker's chart shows Docker VMM handing memory back to about 2 GiB, while Apple Virtualization on a Mac and Hyper-V on Windows keep theirs.
  • Images, containers and volumes don't move between backends, and Rosetta isn't available on the Mac.
  • Docker's reproduction guide lets you check the numbers on your own machine, and treats differences under about 20 per cent as noise.

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.

Docker’s announcement on X links to the launch post.

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.

PlatformWhat Docker VMM needsOther backends that stay
MacApple siliconApple Virtualization framework (the Mac default), HyperKit on Intel Macs
Windowsx86_64, with Windows Hypervisor Platform and Virtual Machine Platform turned on. Arm isn’t supportedWSL 2 (the default), Hyper-V on all-users installs
LinuxDocker Desktop 4.98 or later, and KVM accessQEMU (the default)
Requirements and alternatives, from Docker’s Virtual Machine Manager documentation.

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.

Bars of memory still held after a job ends: Apple Virtualization about 10.6 GiB, Hyper-V about 16.8 GiB, Docker VMM about 2 GiB on both
After the job exits, Docker VMM hands the memory back; the other two backends keep it.

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.

CheckWhat it runsApple VirtualizationDocker VMMChange
First code searchOne ripgrep search across a fresh PostHog checkout, through a bind mount4.22 s1.63 s2.6x
Second working copygit worktree add of a fresh PostHog checkout, through a bind mount17.29 s7.75 s2.2x
Many small filesCreate, stat, read and delete 10,000 tiny files on a bind mount6.01 s2.58 s2.3x
Mixed random reads and writesstress-ng --hdd churn on a bind mount39,500 ops/s67,900 ops/s1.7x
Random reads, project folderfio, 25,000 random 4 KiB reads from a 1 GiB file on a bind mount814 ms569 ms1.4x
Random reads, container file systemfio, 25,000 random 4 KiB reads from a 1 GiB file, including creating it1.84 s1.34 s1.4x
Random writes, container file systemfio, 25,000 random 4 KiB writes to a 1 GiB file, no fsync after each1.70 s1.12 s1.5x
Image build with copied sourceBuild an image containing a fresh PostHog checkout: context transfer, COPY, export and registration18.74 s15.81 s1.2x
Docker’s Mac results. Lower is better except for operations per second.

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.

CheckWSL 2Hyper-VDocker VMMChange vs WSL 2Change vs Hyper-V
First code search144 s51.9 s7.39 s19.5x7.0x
Second working copy408 s222 s60 s6.8x3.7x
Many small files78 s108 s16.9 s4.6x6.4x
Mixed random reads and writes1,140 ops/s2,040 ops/s2,390 ops/s2.1x1.2x
Random reads, project folder4.08 s5.82 s1.26 s3.2x4.6x
Random reads, container file system4.47 s3.72 s2.15 s2.1x1.7x
Random writes, container file system1.46 s1.42 s1.10 s1.3x1.3x
Image build with copied source27.6 s24.5 s23.7 s1.2x1.0x
Docker’s Windows results. Lower is better except for operations per second.
Docker VMM speed-ups on Mac and Windows: code search 2.6x and 19.5x, worktree 2.2x and 6.8x, small files 2.3x and 4.6x, image build 1.2x
The gap is biggest on Windows with code on the Windows drive, and smallest on a plain image build.

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

Checklist: Docker VMM needs Apple silicon, Windows x86_64 or Linux with KVM; Intel Mac, Windows on Arm, Rosetta and MongoDB on Mac are limits
Four things on a Mac or Windows machine can rule Docker VMM out or slow it down.
  • 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 -All and 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 host error. 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

  1. Update to Docker Desktop 4.101.
  2. 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.
  3. Record your environment before you measure: docker version, docker info and uname -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.
  4. Pick a check from the guide. It lists 14, from first git status and code search in a shared repository to image builds, multi-service Compose start-up and a Kubernetes install, and times each with the shell’s time keyword or a clock read inside the container.
  5. Start each run from a fresh copy of the source, and empty the engine’s file cache between runs with the command below.
  6. 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.
Code
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.


Sources