OpenShift mounting volumes, not defined in pod.spec in "/var/lib/docker/volumes" directory.

Solution Unverified - Updated -

Issue

  • /var/lib/docker/volumes is filling up on the node, and is showing a volume in this directory is mounted to a pod.
  • The pod.spec does not show any volumes, however the node shows a volume mount to the pod located in /var/lib/docker/volumes
  • How to ignore Volumes mentioned in Dockerfile of docker images ?

Environment

  • OpenShift Container Platform
  • Red Hat Enterprise Linux 7
  • docker container runtime
  • docker-1.13.1-XXXX

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