What is `docker buildx imagetools create` used for?
IntermediateProductionBuild Performance & CI
Answer
It composes or retags manifests in the registry without pulling layers. Common use: merge per-arch images built on native runners into a multi-arch tag, or promote a tag between environments.
docker buildx imagetools create -t reg/app:1.4.2 reg/app:1.4.2-amd64 reg/app:1.4.2-arm64
docker buildx imagetools create -t reg/app:prod reg/app@sha256:<digest>
More on Build Performance & CI
How do you make Docker builds fast in CI where runners are ephemeral?BeginnerWhat are the cache backends in buildx?BeginnerWhy does `inline` cache often disappoint?AdvancedHow do you structure a Python Dockerfile for the best caching and size?IntermediateHow do you structure a Node.js production image?IntermediateHow do you build a small Java image?Beginner