How to mount NFS Volume inside a docker container in Red Hat Enterprise Linux 7 ?

Solution Unverified - Updated -

Issue

  • How to mount NFS Volume inside a docker container in Red Hat Enterprise Linux 7 ?
  • We are trying to mount a NFS Volume inside a docker container. I don't want to mount it on the docker host and then pass the mounted FS via "docker run -v" to the container. I would prefer to mount it directly from inside the container.

Environment

  • Red Hat Enterprise Linux 7.2
  • docker-1.12.6-16.el7.x86_64

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