What is `docker buildx bake`?
AdvancedConceptDockerfile Instructions & Builds
Answer
A declarative way to define multiple build targets (HCL, JSON or Compose files), with variables, inheritance, matrix, and parallel execution.
target "app" {
context = "."
tags = ["registry.example.com/app:1.0"]
platforms = ["linux/amd64","linux/arm64"]
}
docker buildx bake app --push. Handy for monorepos building many images with shared settings.