{"id":"c27ecf5262acaf81","repo":"docker/cli","slug":"s-not-found","errorCode":null,"errorMessage":"%s not found","messagePattern":"(.+?) not found","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"cli/command/manifest/push.go","lineNumber":76,"sourceCode":"\n\tflags := cmd.Flags()\n\tflags.BoolVarP(&opts.purge, \"purge\", \"p\", false, \"Remove the local manifest list after push\")\n\tflags.BoolVar(&opts.insecure, \"insecure\", false, \"Allow push to an insecure registry\")\n\treturn cmd\n}\n\nfunc runPush(ctx context.Context, dockerCli command.Cli, opts pushOpts) error {\n\ttargetRef, err := normalizeReference(opts.target)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tmanifests, err := newManifestStore(dockerCli).GetList(targetRef)\n\tif err != nil {\n\t\treturn err\n\t}\n\tif len(manifests) == 0 {\n\t\treturn fmt.Errorf(\"%s not found\", targetRef)\n\t}\n\n\treq, err := buildPushRequest(manifests, targetRef, opts.insecure)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tif err := pushList(ctx, dockerCli, req); err != nil {\n\t\treturn err\n\t}\n\tif opts.purge {\n\t\treturn newManifestStore(dockerCli).Remove(targetRef)\n\t}\n\treturn nil\n}\n\nfunc buildPushRequest(manifests []types.ImageManifest, targetRef reference.Named, insecure bool) (pushRequest, error) {\n\treq := pushRequest{targetRef: targetRef, insecure: insecure}","sourceCodeStart":58,"sourceCodeEnd":94,"githubUrl":"https://github.com/docker/cli/blob/e9452d6e785f6e365712b9d71bd7517591773c86/cli/command/manifest/push.go#L58-L94","documentation":"Error \"%s not found\" thrown in docker/cli.","triggerScenarios":"Thrown at cli/command/manifest/push.go:76 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}