Node garbage collection can't prune multi-repo images

Solution Verified - Updated -

Issue

  • Image clean-up performed by the kubelet saves orphaned layers referenced in multiple repositories, which leads to node disk pressure.
  • Deleting an image with docker using the id throws an error when it is referenced by multiple repositories.

Environment

  • Red Hat OpenShift Container Platform (OCP) 3
  • Red Hat Enterprise Linux (RHEL) 7
  • docker

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