docker buildx imagetools
A buildx command group that inspects and creates image manifests directly in a registry, without pulling or building anything.
In more detail
The create subcommand writes a new tag that points at an existing manifest or index, which is how a pipeline promotes one tested image to staging and production. The inspect subcommand prints the digest a tag currently points at.
Example
docker buildx imagetools create -t registry.example/app:prod registry.example/app:4d7c1e9Related terms
- docker buildx — The Docker command for advanced BuildKit features, such as building for several platforms or on remote builders.
- image promotion — Moving the exact same, already-tested image through environments, such as staging to production, without rebuilding it.
- digest — A SHA-256 hash of an image's manifest that identifies its exact content and can never be moved to other bytes.
- image index — A list that points to several versions of the same image, one per processor architecture and operating system.
- registry — A server that stores images and lets clients push and pull them by name, tag or digest.
Taught in
- Scan, Patch And Inspect The Software Supply Chain — Docker Architecture & Production Containers
- Build, Test And Promote The Same Image In CI — Docker Architecture & Production Containers