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

Current Customers and Partners

Log in for full access

Log In