EQTY LabDocs

Quick Start

Install the three packages on a new Apple silicon Mac and run Docker containers in a VM whose TPM is rooted in the Mac's Secure Enclave.

View as Markdown

This page sets up Docker on a Mac with a TPM rooted in the Secure Enclave, using the release packages and the prebuilt VM disk. Type the commands in Terminal; no repository checkout is needed. You need:

  • An Apple silicon Mac on macOS 26 or later, with at least 8 GB of RAM and an admin account.
  • Homebrew.
  • A network connection for the first boot.

Fill in the releases you are installing:

1. Download the installers

Save these in ~/Downloads:

FromFile
swtpm-notary releaseeqty-swtpm-notary-{{SWTPM_VERSION}}-arm64.pkg
The same releaseeqty-docker-{{DOCKER_VERSION}}.pkg
vcomp-notary-desktop releaseeqty-notary-{{NOTARY_VERSION}}-macos-arm64.pkg

The Docker package includes the VZ guest kernel and a Linux VM disk with the guest notary installed. See Compatibility for which notary each release needs.

2. Install the packages and VM tools

sh
cd ~/Downloads
sudo installer -pkg eqty-swtpm-notary-{{SWTPM_VERSION}}-arm64.pkg -target /
sudo installer -pkg eqty-notary-{{NOTARY_VERSION}}-macos-arm64.pkg -target /
sudo installer -pkg eqty-docker-{{DOCKER_VERSION}}.pkg -target /
brew install vfkit python zstd
command -v docker >/dev/null || brew install docker

Install swtpm-notary before the notary: the notary selects its swtpm binary when it starts, and its installer starts it once. The swtpm-notary installer does not restart a running notary.

The Docker CLI can come from Docker Desktop or Homebrew; only the docker command is used. The EQTY VM runs with vfkit on Apple’s Virtualization.framework and includes the Docker engine.

3. Start and check the VM

sh
docker eqty use vz
docker eqty start
docker eqty status
docker eqty run --rm hello-world

On first start, docker eqty verifies and unpacks the bundled guest image, creates a sparse docker-eqty.raw disk for Docker data, and creates the docker-vz vTPM for your Mac user; macOS may ask for your administrator password. The VM boots the bundled kernel with the vTPM attached, the guest notary starts automatically, and start waits for Docker and the guest notary to be ready. hello-world prints its success message.

From then on, docker eqty start and docker eqty stop control the VM, and any Docker command prefixed with docker eqty runs in it. Your default Docker context is untouched.

4. Use it

Compose projects under your home directory can use bind mounts and published ports as with Docker Desktop:

sh
cd my-project
docker compose version                # Compose is installed
docker eqty compose up -d

Containers started through docker eqty run get ENDPOINT=http://100.100.100.200:8066, the guest notary, so a program using the EQTY SDK signs through it without configuration. Its manifests chain through the guest notary and the vTPM to this Mac’s Secure Enclave.

To size the VM:

sh
docker eqty settings                                  # CPUs, memory, swap, disk, shared directories
docker eqty settings set Cpus=4 MemoryMiB=4096        # for the next start

The defaults match Docker Desktop: every core, half the memory, and /Users, /Volumes and /private shared. Everything the plugin does is on the docker eqty page.

What you have

LayerWhere it runsRooted in
ContainersThe VMThe guest notary, at the well-known address
Guest notaryThe VM, on /dev/tpmrm0The vTPM: its IAK certifies the guest notary’s AK
vTPMswtpm-notary on the MacThe Mac notary: seed and IAK in the Secure Enclave, certificates issued by the notary’s key
Mac notarylaunchd, on the MacThe Secure Enclave, vouched for by the Developer ID-signed daemon

The VM’s kernel measures itself into the vTPM from the first instruction, and the Mac records what it launched into PCR 8 and 9 before boot, so a quote from the guest covers the kernel and command line this Mac started. For what that proves, and the details of each layer, see Virtualization.framework.

Update and remove

Installing a newer Docker package stops the VM and leaves both disks in place; existing VMs keep their layout and data. sudo /opt/eqty/docker/uninstall.sh removes the package and keeps the VM disks, Docker data, vTPMs and settings.