How Mount Nfs Drive Ubuntu?
Contents

How do I mount an NFS file system?

How to Mount an NFS File System ( mount Command)

  1. Become superuser or assume an equivalent role.
  2. Create a mount point for the file system to be mounted, if necessary. # mkdir /mount-point. …
  3. Make sure the resource (file or directory) is available from a server. …
  4. Mount the NFS file system.

How do I mount a drive in NFS container?

5 Answers

  1. Start the container with the –cap-add sys_admin flag. …
  2. Mount the NFS share on the host and pass it into the container as a host volume: [email protected] > mount server:/dir /path/to/mount/point [email protected] > docker run -v /path/to/mount/point:/path/to/mount/point.
Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest