docker/cli ยท error
manifest entry for image has unsupported os/arch combination
Error message
manifest entry for image has unsupported os/arch combination: %s/%s
What it means
Error "manifest entry for image has unsupported os/arch combination: %s/%s" thrown in docker/cli.
Source
Thrown at cli/command/manifest/annotate.go:165
}
if opts.os != "" {
imageManifest.Descriptor.Platform.OS = opts.os
}
if opts.arch != "" {
imageManifest.Descriptor.Platform.Architecture = opts.arch
}
for _, osFeature := range opts.osFeatures {
imageManifest.Descriptor.Platform.OSFeatures = appendIfUnique(imageManifest.Descriptor.Platform.OSFeatures, osFeature)
}
if opts.variant != "" {
imageManifest.Descriptor.Platform.Variant = opts.variant
}
if opts.osVersion != "" {
imageManifest.Descriptor.Platform.OSVersion = opts.osVersion
}
if !isValidOSArch(imageManifest.Descriptor.Platform.OS, imageManifest.Descriptor.Platform.Architecture) {
return fmt.Errorf("manifest entry for image has unsupported os/arch combination: %s/%s", opts.os, opts.arch)
}
return manifestStore.Save(targetRef, imgRef, imageManifest)
}
func appendIfUnique(list []string, str string) []string {
if slices.Contains(list, str) {
return list
}
return append(list, str)
}
View on GitHub (pinned to e9452d6e78)
When it happens
Trigger: Thrown at cli/command/manifest/annotate.go:165 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of docker/cli@e9452d6e78 (2026-08-01).
Data as JSON: /data/errors/eda4ece98639da49.json.
Report an issue: GitHub.