Back-port PR: https://github.com/openshift/ose/pull/827
*** Bug 1467340 has been marked as a duplicate of this bug. ***
Merged from https://github.com/openshift/origin/pull/16126
Verified openshift v3.6.173.0.37 kubernetes v1.6.1+5115d708d7 etcd 3.2.1 use nfs as registry back end storage # oc -n default exec -i -t "$(oc -n default get pods -l deploymentconfig=docker-registry -o jsonpath=$'{.items[0].metadata.name}\n')" -- /usr/bin/dockerregistry -prune=delete Deleted 4 blobs Freed up 49.35 MiB of disk space If use AWS S3 as registry back end storage Deleted 0 blobs Freed up 0 B of disk space Do not work well, there is a bug (bz1483930) to track it, so could move this bug to verified
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:3049