How to set garbage collection in OpenShift to clean up images and containers on a node

Solution Unverified - Updated -

Issue

  • Docker storage on my OpenShift node is filling up.
  • How do I automatically clean up old images and container on the node?
  • Enable docker garbage collection with cri-o

Environment

  • OpenShift Container Platform 3.x
  • CRI-O

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