Docker Cheat Sheet/Annotate manifest entry

Annotate a manifest list entry with platform metadata.

Section: Registries and Manifests

Annotate manifest entry

bash
bash
docker manifest annotate ghcr.io/acme/myapp:1.0.0 ghcr.io/acme/myapp:1.0.0-arm64 --arch arm64
Explanation

Useful when building a multi-platform image index manually.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Registries and Manifests
Push an image
Upload an image to a registry.
OpenIn sheetbash1 tag match
Login to a registry
Authenticate to a registry such as Docker Hub or a private registry.
OpenIn sheetbash1 tag match
Logout from a registry
Remove stored registry credentials.
OpenIn sheetbash1 tag match
Search Docker Hub
Search Docker Hub for images.
OpenIn sheetbash1 tag match
Push all tags
Push all local tags for a repository name.
OpenIn sheetbash1 tag match
Inspect a manifest
Inspect an image manifest or manifest list.
OpenIn sheetbash1 tag match