# Docker Engine, Multi-Stage BuildKit Dockerfiles & Compose Watch > Official Docker BuildKit multi-stage builds, cache/secret mounts, distroless non-root hardening, and Compose v2 healthcheck dependencies. ## Corpus Summary - Canonical Space URL: https://voxell.ai/p/docker-docs - Documents indexed: 4 (41 passages, 37 KB) - Citation Readiness (Aggarwal GEO): 64/100 (stat_density=0.00, self_contained=1.00) - Full machine-readable corpus bundle: https://voxell.ai/s/docker-docs/llms-full.txt ## Agent & MCP Integration (Zero API Key Required) Connect any MCP client or autonomous agent directly via Streamable HTTP: - Endpoint: `POST https://voxell.ai/s/docker-docs/mcp` - Tools: `search_verified_docs` (grounded passage search), `ask_cited_answer` (cited synthesis) ```bash curl -sS -X POST https://voxell.ai/s/docker-docs/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_verified_docs","arguments":{"query":"key facts and specifications","top_k":5}}}' ``` ## Document & Section Map - **official_ref_1_docs_docker_com_build_buildi.md** (33 passages, 32.3 KB) - **official_ref_2_raw_githubusercontent_com_do.md** (6 passages, 3.6 KB, VQS grade A) - Section: raw.githubusercontent.com/docker/compose/main/README.md - Section: Docker Compose - Section: Where to get Docker Compose - Section: Linux - **docker-buildkit-multistage-and-secrets.md** (1 passages, 818 B) - Section: Docker BuildKit Multi-Stage Builds, Cache Mounts & Secret Mounts - **docker-compose-v2-healthchecks.md** (1 passages, 311 B) - Section: Docker Compose v2 Readiness & Signal Handling ## Verified Sample Citations (High Fact Density) - **[docker-buildkit-multistage-and-secrets.md #0]**: # Docker BuildKit Multi-Stage Builds, Cache Mounts & Secret Mounts Pin base images by version and digest, copy dependency manifests (`go.mod` / `go.sum` or `package-lock.json`) before source code for layer cache reuse, and mount BuildKit caches: ```dockerfile # syntax=docker/dockerfile:1 FROM golang:1.24-bookworm AS build WORKDIR /src COPY go.mod go.sum .... - **[official_ref_2_raw_githubusercontent_com_do.md #0]**: # raw.githubusercontent.com/docker/compose/main/README.md Source: https://raw.githubusercontent.com/docker/compose/main/README.md # Table of Contents - [Docker Compose](#docker-compose) - [Where to get Docker Compose](#where-to-get-docker-compose) + [Windows and macOS](#windows-and-macos) + [Linux](#linux) - [Quick Start](#quick-start) - [Contributing](#c... - **[official_ref_2_raw_githubusercontent_com_do.md #1]**: # Docker Compose [![GitHub release](https://img.shields.io/github/v/release/docker/compose.svg?style=flat-square)](https://github.com/docker/compose/releases/latest) [![PkgGoDev](https://img.shields.io/badge/go.dev-docs-007d9c?style=flat-square&logo=go&logoColor=white)](https://pkg.go.dev/github.com/docker/compose/v5) [![Build Status](https://img.shields.... - **[official_ref_2_raw_githubusercontent_com_do.md #3]**: # Where to get Docker Compose ### Windows and macOS Docker Compose is included in [Docker Desktop](https://www.docker.com/products/docker-desktop/) for Windows and macOS. - **[official_ref_2_raw_githubusercontent_com_do.md #4]**: ### Linux You can download Docker Compose binaries from the [release page](https://github.com/docker/compose/releases) on this repository. Rename the relevant binary for your OS to `docker-compose` and copy it to `$HOME/.docker/cli-plugins` Or copy it into one of these folders to install it system-wide: * `/usr/local/lib/docker/cli-plugins` OR `/usr/local... - **[official_ref_2_raw_githubusercontent_com_do.md #5]**: ------------ Want to help develop Docker Compose? Check out our [contributing documentation](CONTRIBUTING.md). If you find an issue, please report it on the [issue tracker](https://github.com/docker/compose/issues/new/choose). Legacy ------------- The Python version of Compose is available under the `v1` [branch](https://github.com/docker/compose/tree/v1).