---
title: "Docker Desktop vs. EQTY VZ Docker"
description: "A functional and performance comparison of Docker Desktop and the docker eqty Virtualization.framework flavour on the same Mac."
source: "EQTY Notary"
---
The `vz` flavour of [docker eqty](/docker-on-macos/docker-eqty/) aims to be a drop-in for Docker
Desktop with a TPM. This page summarises the comparison in the swtpm-notary repository,
`docs/docker-desktop-vs-eqty-vz.md` and `DOCKER_COMPARISON_REPORT2.md`, as of the fifth run on
2026-10-29 and 2026-10-30. Both engines were driven from the same Docker CLI with the same
scripts on an 8 GB M2 Mac mini running macOS 26.5.2, one at a time.

| Suite   | Script                                | Checks | Covers                                                                                                                               |
| ------- | ------------------------------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| Basic   | `scripts/compare-docker-engines.sh`   | 119    | `docker run` patterns, networking, storage, builds, databases, a four-service Compose stack, CPU, I/O and network benchmarks          |
| Complex | `scripts/compare-docker-complex.sh`   | 123    | A six-service microservice stack, BuildKit cache, secrets and bake, Docker-in-Docker, Swarm, k3s, cAdvisor with Prometheus and Grafana, 40 containers at once, dev loops on shares, API stream throughput, limits, networking, security options, TPM checks |

## Summary

**Basic suite: 118 of 119 identical. Complex suite: 110 of 123.** EQTY VZ ran on the same defaults
Docker Desktop uses: every core, half the memory, `/Users`,
`/Volumes` and `/private` shared, Rosetta on. Every ordinary `docker run` and `docker compose`
pattern worked identically, x86-64 images ran through Rosetta, Mac directories bind-mounted at
their own paths, `host.docker.internal` reached the Mac, an edit made on the Mac raised inotify
events in the container, a published port answered the moment the container started, and
published ports were faster than Docker Desktop.

Every complex stack came up and behaved the same on both engines. The differences were all on the
EQTY side, and each has a root cause and a fix in the repository:

| Difference                                                                 | Root cause                                                                                                                         | Fix                                                                                                          |
| -------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| The Docker API path from the Mac stalled under concurrent connections: `export \| import`, `docker rm -f` of 40 ids, `docker stats` over 40, 8 parallel `docker run`. Every new `docker` command then hung until a VM restart. | vfkit's vsock device accepts the Mac-side connection but never dials the guest once about 32 connections are in flight. dockerd in the guest stayed healthy. The fourth run's "daemon wedge on piped `save \| load`" was this. | The Docker API now crosses one long-lived vsock stream as multiplexed channels. 256 concurrent connections and every trigger above pass. |
| Swarm's ingress routing mesh did not route; replicas, overlay DNS, secrets and configs worked. | The guest kernel lacked `CONFIG_NETFILTER_XT_MATCH_IPVS`, so dockerd could not program IPVS.                                        | Added to the kernel fragment, with `CONFIG_BRIDGE_VLAN_FILTERING` and `CONFIG_PSI`; the port forwarder mirrors swarm ingress ports. |
| A `/var/...` bind source was rewritten to the Mac's `/private/var/...`, so cAdvisor and node-exporter could not mount VM paths. | The proxy mapped sources through macOS `realpath`, and `/var` is a symlink into the shared `/private`.                             | Sources absent on the Mac and inside a Linux system directory stay VM paths.                                   |
| `compose down` waited the engine's 10 second stop timeout where Docker Desktop killed the same container after 3. | Docker Desktop sets `default-stop-timeout: 3` in its daemon.                                                                       | The guest sets it when its dockerd knows the key; otherwise the proxy injects `StopTimeout: 3`.               |

Seen on **both** engines the same way, so not an EQTY difference: cAdvisor 0.52.1 does not
attribute containers by name, and containers have no IPv6 egress although the Mac has IPv6.

Only EQTY VZ gives a container a hardware-rooted TPM: PCR 8 and 9 in the quote equal what the Mac
measured at launch, the IAK certificate chains to this Mac's notary, the IMA log replays to
PCR 10, and the guest notary signs a lineage manifest whose `executedOn` carries that quote.

Fixed in the fourth run: inotify for Mac edits, the published-port delay, and a start-time
egress probe that warns when the VM has no IPv4 or DNS.

One caveat on `host.docker.internal`: it reaches Mac services that accept connections from the
local network. macOS Local Network privacy lets Apple-signed programs and GUI apps that were
granted the permission accept them; a Homebrew CLI started from an SSH session is not reachable.
Docker Desktop proxies such connections itself.

## Measurement limits

The timings are single warm runs each, including Docker CLI startup and, for EQTY, the Mac-to-guest
transport. They are functional evidence plus single-run latency, not statistical performance
estimates. Image IDs differed between engines for a mutable tag in an earlier run, so the compute
and I/O rows there are indicative only. Where throughput matters, assign equal CPU and memory, pin
image digests, use repeated runs and medians, and separate in-container time from CLI overhead.

## What the manifests do and do not show

A `simple.py` run on each engine produced an EQTY manifest. The Docker Desktop run reached the
**EQTY guest notary** through a temporarily forwarded port, so its manifest shows that a Desktop
container could call that notary. It is **not** evidence that Docker Desktop supplied a TPM or
that its kernel was measured. Both manifests' `executedOn` fields named the same guest
`VCompTpmV1` DID, which is a provenance attribution gap for the Desktop run: a container should
not acquire a VM's identity merely by calling its notary. Binding the attestation to a measured
guest workload identity, or labelling remote-notary calls as remote so a verifier can tell them
apart, is the open design item.

Both manifests verified with no tampering detected in attached bytes, while hardware binding and
key binding remained *not checked*: the verifier has no pinned root for the `VCompTpmV1`
identity. See [Credentials](/desktop-notary/advanced/credentials/#verify-a-manifest).

## Rerun it

```sh
scripts/compare-docker-engines.sh <docker context> <label> [eqty]     # basic suite
scripts/compare-docker-complex.sh <docker context> <label> [eqty]     # complex suite
scripts/compare-results-table.py <a.results.tsv> <b.results.tsv>      # two result files as one table
```

Raw results land in `docs/compare-<date>/`. The fifth run's Mac was under memory pressure
throughout, because a second VM could not be stopped, so its timings are parity indicators
rather than measurements.