Docker VMM GA: What Docker Desktop's Own VM Layer Speeds Up

Docker VMM GA: What Docker Desktop's Own VM Layer Speeds Up

Enterprise Developer Platforms

Docker says its own virtualization layer makes common real-world tasks “about twice as fast,” and in one Windows benchmark searched a large codebase 19.5 times faster than WSL 2, according to its Docker VMM general availability announcement. For platform teams that manage Docker Desktop across a developer fleet, the bigger news is that Docker now owns the layer under every container instead of relying on third-party hypervisors.

What Happened

Docker VMM is a virtualization layer built for container workloads that creates and manages the Linux VM Docker Desktop runs on, using each host’s native virtualization tools. Docker previously relied on third-party virtual machine managers; it says VMM was built in-house from the ground up. After several months in beta, it’s generally available in Docker Desktop 4.101 on macOS, Windows (x86) and Linux, and Docker Desktop and Docker Sandboxes now share the same underlying virtualization.

Docker VMM will become the default for new installs over time. Existing users stay on their current backend unless they switch, and Apple’s Virtualization framework, WSL 2, Hyper-V and QEMU on Linux remain supported. To switch, open Settings, then General, then Virtual Machine Options, and choose Docker VMM. Organizations can set it centrally through Settings Management.

Why It Matters

Docker’s benchmarks are medians of repeated runs inside containers, on a MacBook Pro with an M5 Max and a Dell XPS 15 with an Intel Core i9-13900H, each with an 18-CPU, 16 GiB VM, against PostHog’s monorepo. On bind-mounted project folders, a first-time search of a large codebase ran 2.6x faster than Apple Virtualization on the Mac, and 19.5x faster than WSL 2 and 7.0x faster than Hyper-V on Windows. A second git worktree checkout ran 2.2x faster on the Mac and 6.8x faster than WSL 2. Workloads heavy in small files and metadata ran 2.3x faster on the Mac and 6.4x faster than Hyper-V.

Inside the container’s own disk, gains were smaller: 1.4x to 2.1x on random reads and 1.3x to 1.5x on random writes. An image build copying a large source tree was 1.2x faster on the Mac and against WSL 2, and about the same as Hyper-V.

Memory is the other change. Docker VMM returns memory to the host when containers finish, while Hyper-V holds its full allocation the whole time. WSL 2 already reclaims memory, and Docker pitches VMM as pairing that behavior with Hyper-V-level isolation.

What This Means for Builders

The Windows headline numbers need context. Docker’s test kept the project folder on the Windows drive, shared into the VM, while Docker itself recommends keeping code inside the WSL file system on that backend, which is faster. Teams that already follow that advice should expect smaller gains than 19.5x. Every figure also comes from one repository on two machines.

The fleet angle is the one to plan for. One VM layer across macOS, Windows and Linux means fewer backend-specific support issues, and Docker lists governance over the VM boundary and visibility into process activity as future work. That matters for teams running coding agents in Docker Sandboxes, which we covered in Docker Sandboxes for coding agents. Docker publishes a performance checks guide for reproducing its numbers.

The So What

If you manage Docker Desktop for a team, run Docker’s performance checks against one of your own repositories on Docker VMM and your current backend before using Settings Management to switch anyone, and start with Windows developers whose code lives on the Windows drive, where Docker’s numbers suggest the biggest payoff.

Source: Docker

Content created with AI assistance and reviewed for accuracy.

💬

Join the conversation

Stack Insiders is our free community for readers who want to go deeper — share resources, ask questions, and connect with others across every vertical we cover.

Join Stack Insiders →

Newsletter coming soon.

Curated digests across AI, biohacking, photography, travel, and more. Be the first to know when we launch.