Dockerfile VOLUME content lost when running containers on OpenShift

Solution Unverified - Updated -

Issue

  • Images with Dockerfile VOLUME definition are not working on OpenShift but it works on standalone Docker. In the container image, VOLUME directory has required files for the application.

Environment

  • Red Hat OpenShift Container Platform

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