Docker Desktop for macOS (Intel and Apple Silicon) bundles Docker Compose v2 — `docker compose` works out of the box. Docker Desktop 3.6.0+ switched to Compose v2 by default and also installs a `docker-compose` shim so existing scripts work without changes. The Compose YAML format is backward-compatible between v1 and v2.