Unable to prune images from the registry due to references to an old image that no longer exists

Solution Verified - Updated -

Issue

I'm unable to prune old images and get the follow message from the prune process:

W0303 16:26:16.465435   67087 prune.go:576] Unable to parse DockerImageReference "docker-registry.default.svc:5000/project/deployment-stream@sha256:<hash> ports:\n  - containerPort: XXXX\n    protocol: TCP" of ReplicationController[project/deployment-stream-nn]: invalid reference format - skipping
Failed to build graph!

Environment

  • Openshift Container Platform (OCP)
    • 3.1x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content