An infographic shows software moving from a Windows PC through containers to a Linux server, with hardware compatibility warnings.
If you have ever tried running a Linux container against a massive repository sitting on your Windows C: drive, you already know the special kind of patience it builds—the kind where you hit Run, go brew a fresh pot of coffee, check your email, and return to find grep still chewing through node_modules. For years, the unspoken truce for Windows developers using Docker Desktop was simple: keep your code inside the WSL 2 Linux filesystem if you wanted decent I/O, or pay the dreaded 9P file-sharing tax when mounting folders from Windows. Now, Docker wants to tear up that compromise. With the general availability of Docker VMM in Docker Desktop 4.101, the company is shipping its own ground-up virtualization layer—and claiming eye-popping speedups on Windows, including codebase searches up to 19.5× faster than WSL 2.

Before you rush to flip the toggle and declare WSL 2 obsolete, though, take a deep breath. Like any major virtualization shift on Windows 10 and Windows 11, the headline benchmark tells only half the story. Docker VMM brings genuine architectural wins—especially around Windows-drive bind mounts, Hyper-V-grade isolation, and memory reclamation—alongside a handful of sharp trade-offs involving NVIDIA GPUs, WSL integration, and separate virtual disks that every developer and IT admin should weigh first.

An infographic shows software moving from a Windows PC through containers to a Linux server, with hardware compatibility warnings. Why Docker Built Its Own Hypervisor Layer​

Historically, Docker Desktop acted more like a skilled conductor than a solo act, orchestrating whatever virtualization engine the host operating system offered: Apple's Virtualization framework on macOS, QEMU on Linux, and either WSL 2 or Hyper-V on Windows. On macOS, Docker previously experimented with libkrun for Docker VMM in versions 4.35 through 4.85 before rolling out its own custom VMM engine starting in version 4.86. With Docker Desktop 4.101.0 (released November 30, 2026, with the GA announcement arriving December 1), that in-house Docker VMM engine is officially generally available across macOS (Apple silicon), Linux, and Windows (x86_64).

Why bother reinventing the virtualization layer? Because owning the full stack means Docker no longer has to wait on Microsoft, Apple, or upstream QEMU maintainers when file-sharing latency, memory hoarding, or VM stability gets in the way. Instead of sharing a general-purpose utility VM with your WSL 2 Linux distributions, Docker VMM spins up a standalone, container-optimized Linux VM backed by the Windows Hypervisor Platform.

That architectural split also aligns with Docker's broader push into local AI agent sandboxing: Docker Desktop and Docker Sandboxes now share the same underlying virtualization layer, giving developers a hard VM boundary between experimental agent-generated code and their host operating system.

Inside the 19.5× Benchmark—and the Fine Print​

The number turning heads across the Windows developer community—highlighted by XDA Developers and published on Docker's engineering blog—is a 19.5× speedup over WSL 2 when performing a first-time search across a large codebase, turning a slog that XDA noted took 2.4 minutes on WSL 2 down to roughly 7.4 seconds with Docker VMM. Against Hyper-V, Docker reports that same search ran 7.0× faster.

Docker didn't stop at a single cherry-picked grep run, either. Using a fresh checkout of the large open-source PostHog monorepo on a Dell XPS 15 (Intel Core i9-13900H) with 18 CPUs and 16 GiB of RAM assigned to the VM, Docker recorded the median of repeated runs across a suite of everyday developer pain points:

  • Codebase search via bind mount: 19.5× faster than WSL 2; 7.0× faster than Hyper-V.
  • Checking out a second branch (git worktree add): 6.8× faster than WSL 2; 3.7× faster than Hyper-V.
  • Small-file metadata storms (think npm install or composer install): 4.6× faster than WSL 2; 6.4× faster than Hyper-V.
  • Mixed random reads and writes (builds and test suites): 2.1× faster than WSL 2; 1.2× faster than Hyper-V.
  • Random reads from a large shared file: 3.2× faster than WSL 2; 4.6× faster than Hyper-V.
  • Inside the container's own filesystem: 2.1× faster than WSL 2 (1.7× vs. Hyper-V) for large-file random reads, 1.3× faster than both for random writes, and 1.2× faster than WSL 2 (roughly tied with Hyper-V) when building an image from a large COPY tree.

Across typical day-to-day workflows, Docker summarizes the real-world gain much more modestly—and credibly—as "about twice as fast".

The Crucial WSL 2 Comparison Caveat​

Here is the asterisk every veteran Windows developer should read twice: in Docker's Windows tests, the PostHog repository lived on the Windows drive and was bind-mounted into the container, mimicking developers who edit code with Windows-native IDEs and tools. As Docker itself notes in its benchmark methodology, its recommended best practice for the WSL 2 backend has always been to store code inside the WSL 2 ext4 filesystem, which avoids cross-OS 9P translation overhead and runs dramatically faster than Windows-drive mounts.

In other words, Docker VMM did not magically make native Linux filesystem operations 19.5× faster; rather, it crushed the specific cross-filesystem bottleneck that has plagued Windows-hosted repositories mounted into Linux containers for years. For developers who keep their source folders on NTFS drives so Visual Studio, JetBrains IDEs, or Windows Git clients can touch them directly, that is a massive quality-of-life win.

Memory Reclamation Meets Hyper-V-Style Isolation​

Speed isn't the only reason Windows users wrestle with Docker Desktop's backend picker. Memory behavior has long forced an awkward choice:

  • Hyper-V gives you a clean, isolated VM boundary, but reserves its entire memory allocation up front and refuses to give a single megabyte back to Windows while Docker Desktop is running.
  • WSL 2 dynamically scales memory up and reclaims idle RAM back to Windows, but shares a single utility VM—and kernel—with all your other WSL distributions.

Docker VMM borrows the best trick from both camps. It runs inside its own isolated VM separate from WSL, allocates RAM dynamically as heavy builds or local Kubernetes clusters demand it, and automatically releases unused memory back to Windows once containers finish. Your browser tabs and IDE won't starve just because you ran a memory-hungry integration test suite an hour ago.

Even better for mixed enterprise and home setups, Docker VMM works on Windows Home, supports both per-user and all-users installations, and does not require administrator privileges at runtime, the privileged helper service, or membership in the docker-users group.

Docker VMM vs. WSL 2 vs. Hyper-V on Windows​

If you are trying to decide which backend fits your Windows workstation or team fleet, here is how the three engines stack up based on Docker's official documentation:

Feature / CapabilityWSL 2 BackendHyper-V BackendDocker VMM
Supported Windows Archx86_64 & Arm (Early Access)x86_64x86_64 only (No Windows on Arm)
Windows Home SupportYesNoYes
Install ModesPer-user or all-usersAll-users onlyPer-user or all-users
Admin / docker-users NeededOnly for hosts file updatesRequiredNot required at runtime
Idle Memory ReclaimedYesNo (holds full allocation)Yes
VM Isolation from WSLShared WSL 2 utility VMSeparate Hyper-V VMSeparate standalone VM
WSL Distro IntegrationFull integration + socketNot availableDocker CLI only (no socket)
NVIDIA GPU Passthrough (--gpus)SupportedNot supportedNot supported
Bind Mount SetupAny Windows or WSL pathExplicit File sharing listExplicit File sharing list (Windows drives only)

Six Gotchas to Check Before Switching​

Docker is not forcing existing installations onto Docker VMM yet, though it plans to gradually make Docker VMM the default for fresh installs. Before you migrate your daily driver—or push a policy change to developers via Docker Desktop Settings Management—watch out for these six documented limitations:

  1. No NVIDIA GPU passthrough: If you run local AI models, CUDA workloads, or --gpus containers on Windows, stay on WSL 2. Docker VMM does not support GPU passthrough.
  2. Existing images and containers won't carry over: Every VMM stores its data in an independent disk image (Docker VMM defaults to %LOCALAPPDATA%\Docker\vm-data and uses a sparse raw disk file, DockerDesktop.raw, on new setups). Switching to Docker VMM makes your WSL 2 containers and images invisible until you switch back—nothing is deleted, just parked in the other backend's disk.
  3. Partial WSL integration only: You can still type docker and docker compose inside Ubuntu or Debian on WSL 2, because WSL interop transparently forwards those calls to the Windows docker.exe binary. However, there is no Docker socket inside your WSL distribution. Workflows that talk directly to the Docker Engine API from inside WSL—including Testcontainers, language SDKs, and VS Code Dev Containers launched from a WSL distro—will not connect that way.
  4. No bind-mounting \\wsl.localhost\ paths: Docker VMM can only bind-mount folders stored on Windows drives and explicitly permitted under Settings > Resources > File sharing, which starts empty. Trying to mount a project living inside a WSL distro's filesystem will fail. Also note two Windows quirks documented by Docker: newly attached drives must be added to File sharing followed by an Apply & restart, and Unix domain sockets created inside bind-mounted Windows folders fail with EINVAL if the full Windows path exceeds 107 bytes.
  5. Two VMs mean two memory budgets: If you actively run WSL 2 Linux distros alongside Docker VMM, you now have two independent Linux VMs competing for host RAM. Tune Docker VMM's CPU, memory, and swap limits under Settings > Resources > Advanced while leaving breathing room for .wslconfig and Windows itself.
  6. *No `.docker.internalhosts file automation and no Arm support:** The option to automatically write*.docker.internalentries to the host's/etc/hosts` file remains exclusive to the WSL 2 backend, and Snapdragon / Windows on Arm laptops must stick with WSL 2 for now.

How to Enable Docker VMM on Windows Today​

Ready to test whether your own monorepo sees a 2× or 19× boost? Upgrading is straightforward, and you can switch back at any time without losing data:

  1. Update to Docker Desktop 4.101 or newer on an x86_64 Windows PC (note that 4.101.0 also resolves a pesky 4.100 bug that hid existing containers and images when the containerd image store was toggled on).
  2. Verify virtualization prerequisites: Ensure hardware virtualization is turned on in BIOS/UEFI and that both Virtual Machine Platform and Windows Hypervisor Platform are enabled. All-users installers enable these automatically, whereas per-user installs (including Microsoft Store installs on 4.97+) may need an administrator to run the following command in an elevated PowerShell prompt once, followed by a reboot:
    Enable-WindowsOptionalFeature -Online -FeatureName HypervisorPlatform -All
  3. Check your VM memory floor: Docker VMM requires at least 4 GB of memory allocated to the Docker Linux VM (Docker Desktop will prompt to bump it up automatically if yours is set lower).
  4. Select Docker VMM: Open Docker Desktop, navigate to Settings > General > Virtual Machine Options (also referenced as Virtual Machine Manager in Docker's documentation), choose Docker VMM, and select Apply & restart.
  5. Whitelist your project folders: Open Settings > Resources > File sharing and add the Windows directories containing your repositories so containers can bind-mount them.

The Bottom Line for Windows Developers and IT​

Docker VMM isn't a magic bullet for every Windows setup—WSL 2 remains indispensable for NVIDIA GPU workflows, Windows on Arm machines, and deeply Linux-native dev environments. Yet for the vast crowd of Windows developers who edit code on NTFS drives, juggle heavy monorepos, or manage laptops where Hyper-V's static RAM reservation hurts multitasking, Docker Desktop 4.101 delivers one of the most consequential Windows container upgrades in years. If your daily loop involves Windows-hosted codebases and sluggish bind mounts, updating and flipping the VMM switch is well worth a five-minute test drive.

 

References

  1. Docker’s new custom VMM leaves WSL 2 in the dust, running Windows codebase searches up to 19.5x faster XDA 2026-12-02T18:50:18+00:00
  2. daily.dev daily.dev
  3. Virtual Machine Manager | Docker Docs docs.docker.com