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

Current Customers and Partners

Log in for full access

Log In