# Docker Bake and Chainguard Images

DevFeed: [Docker Bake and Chainguard Images](<https://devfeed.tech/articles/docker-bake-and-chainguard-images-13022.md>)

Original publisher: [Read original article](<https://www.chainguard.dev/unchained/docker-bake-and-chainguard-images>)

Published: 2025-02-13T00:00:00Z

Content type: article

Language: en

Sources: [Chainguard: Unchained](<https://devfeed.tech/sources/chainguard-unchained.md>)

Topics: [Docker](<https://devfeed.tech/topics/docker.md>), [chainguard images](<https://devfeed.tech/topics/chainguard-images.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Development](<https://devfeed.tech/topics/development.md>), [YAML](<https://devfeed.tech/topics/yaml.md>), [JSON](<https://devfeed.tech/topics/json.md>)

Tags: [bake](<https://devfeed.tech/tags/bake.md>), [build](<https://devfeed.tech/tags/build.md>), [chainguard](<https://devfeed.tech/tags/chainguard.md>), [chainguard-images](<https://devfeed.tech/tags/chainguard-images.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [cli](<https://devfeed.tech/tags/cli.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [declarative](<https://devfeed.tech/tags/declarative.md>), [docker](<https://devfeed.tech/tags/docker.md>), [make](<https://devfeed.tech/tags/make.md>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>), [registry](<https://devfeed.tech/tags/registry.md>), [variable](<https://devfeed.tech/tags/variable.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

## AI overview

This article introduces Docker Bake, a Docker CLI capability for defining, simplifying, and automating Docker build workflows with declarative files. It explains basic build definitions and shows how Bake can support multistage workflows with Chainguard Images, separate development and production targets, inheritance, multiplatform builds, registry pushes, and variables. Bake files can use HCL, YAML, or JSON, with HCL providing basic string-interpolation functions.

## Source excerpt

Docker Bake is a great resource to define build configuration using a declarative file that integrates well with Chainguard Images. See how.