Is it possible to move /var/lib/docker/containers to another directory in an OpenShift node?

Solution Unverified - Updated -

Issue

  • The container logs directory on docker (/var/lib/docker/containers) needs to be moved to another partition;
  • Is there a docker option or parameter to change /var/lib/docker/containers to another directory?

Environment

  • Red Hat OpenShift Container Platform (OCP) 3.x

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