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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In