Once our host has access to the NFS, we need to give the container access to that data via a bind mount. A bind mount is a folder on the host that is mapped inside the container. To create the bind mount, open the Proxmox CLI, and run
pct set 100 -mp0 /host/shared_dir_location,mp=/path/in/container
pct
is the Proxmox Container Toolkitset
tells pct
we’re going to set an option100
is the container ID we’ll be working on-mp0
is the name of the mount point,mp=/path
is the path where we want that directory mounted within the container