---
title: "Quick Start"
description: "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."
source: "EQTY Notary"
---
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](https://brew.sh).
- A network connection for the first boot.

Fill in the releases you are installing:

<token-field name="SWTPM_VERSION" label="swtpm-notary release" placeholder="0.10.2-eqty.1"
  pattern='^\d+\.\d+\.\d+-eqty\.\d+$' pattern-message="Must be a version like 0.10.2-eqty.1"></token-field>
<token-field name="DOCKER_VERSION" label="eqty-docker release" placeholder="0.1.0"
  pattern='^\d+\.\d+\.\d+$' pattern-message="Must be a version like 0.1.0"></token-field>
<token-field name="NOTARY_VERSION" label="Notary release" placeholder="0.0.8"
  pattern='^\d+\.\d+\.\d+$' pattern-message="Must be a version like 0.0.8"></token-field>

## 1. Download the installers

Save these in `~/Downloads`:

| From                                                                                              | File                                               |
| ------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| [swtpm-notary release](https://github.com/eqtylab-RND/swtpm-notary/releases)                      | `eqty-swtpm-notary-{{SWTPM_VERSION}}-arm64.pkg`    |
| The same release                                                                                  | `eqty-docker-{{DOCKER_VERSION}}.pkg`               |
| [vcomp-notary-desktop release](https://github.com/eqtylab-RND/vcomp-notary-desktop/releases)      | `eqty-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](../notary-backed-vtpm/advanced/compatibility.mdx) 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](https://github.com/crc-org/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](./docker-eqty.mdx) page.

## What you have

| Layer              | Where it runs            | Rooted in                                                                 |
| ------------------ | ------------------------ | ------------------------------------------------------------------------- |
| Containers         | The VM                   | The guest notary, at the well-known address                               |
| Guest notary       | The VM, on `/dev/tpmrm0` | The vTPM: its IAK certifies the guest notary's AK                         |
| vTPM               | swtpm-notary on the Mac  | The Mac notary: seed and IAK in the Secure Enclave, certificates issued by the notary's key |
| Mac notary         | launchd, on the Mac      | The 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](./virtualization-framework.mdx).

## 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.