{"id":"eda4ece98639da49","repo":"docker/cli","slug":"manifest-entry-for-image-has-unsupported-os-arch-c","errorCode":null,"errorMessage":"manifest entry for image has unsupported os/arch combination: %s/%s","messagePattern":"manifest entry for image has unsupported os/arch combination: (.+?)/(.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"cli/command/manifest/annotate.go","lineNumber":165,"sourceCode":"\t}\n\tif opts.os != \"\" {\n\t\timageManifest.Descriptor.Platform.OS = opts.os\n\t}\n\tif opts.arch != \"\" {\n\t\timageManifest.Descriptor.Platform.Architecture = opts.arch\n\t}\n\tfor _, osFeature := range opts.osFeatures {\n\t\timageManifest.Descriptor.Platform.OSFeatures = appendIfUnique(imageManifest.Descriptor.Platform.OSFeatures, osFeature)\n\t}\n\tif opts.variant != \"\" {\n\t\timageManifest.Descriptor.Platform.Variant = opts.variant\n\t}\n\tif opts.osVersion != \"\" {\n\t\timageManifest.Descriptor.Platform.OSVersion = opts.osVersion\n\t}\n\n\tif !isValidOSArch(imageManifest.Descriptor.Platform.OS, imageManifest.Descriptor.Platform.Architecture) {\n\t\treturn fmt.Errorf(\"manifest entry for image has unsupported os/arch combination: %s/%s\", opts.os, opts.arch)\n\t}\n\treturn manifestStore.Save(targetRef, imgRef, imageManifest)\n}\n\nfunc appendIfUnique(list []string, str string) []string {\n\tif slices.Contains(list, str) {\n\t\treturn list\n\t}\n\treturn append(list, str)\n}\n","sourceCodeStart":147,"sourceCodeEnd":176,"githubUrl":"https://github.com/docker/cli/blob/e9452d6e785f6e365712b9d71bd7517591773c86/cli/command/manifest/annotate.go#L147-L176","documentation":"Error \"manifest entry for image has unsupported os/arch combination: %s/%s\" thrown in docker/cli.","triggerScenarios":"Thrown at cli/command/manifest/annotate.go:165 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"analyzedSha":"e9452d6e785f6e365712b9d71bd7517591773c86","analyzedAt":"2026-08-01T07:09:22.474Z","schemaVersion":2}