Skip to main content

Mount a NFS Share

ol lab tutorial ol-podman
Table of Contents


🌙 Lab

🗒 Tutorial


A Network File System or NFS is a distributed file system protocol originally developed by Sun Microsystems in 1984. NFS allows a user on a client computer to access files over the network, similar to how they access local storage.

When working with Podman containers, the need may arise to access files on an NFS share, which you accomplish using a Podman volume. Volumes are the preferred means to persist data generated and used by the containers. Podman completely manages volumes and differs from bind mounts as they are independent of the host machine’s directory structure and OS.

These guides will show how to use Podman volumes to mount and access a remote NFS share.


  • Create an NFS-backed Podman volume
  • Read and write to the Podman volume

What Do You Need?

  • A client system with Oracle Linux installed
  • An up-and-running NFS server with a shared data directory