Docker registry pruning returns 0-length response error and nothing is pruned.

Solution Verified - Updated -

Issue

Running the oc adm prune command results in error message. For example:

# oc adm prune images --keep-tag-revisions=3 --keep-younger-than=1440h
error: 0-length response

Environment

  • Red Hat OpenShift Container Platform 3.x

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