Mount NFS Share to Container
version: "2.3"
services:
app:
image: myimage
volumes:
- nfs:/container/path
....
volumes:
nfs:
driver_opts:
type: "nfs"
o: addr=$NFSSERV,nfsvers=4
device: $NFSPATHNFSSERV=fully.qualified.domain or IP address of NFS server
$NFSPATH=:/Path/To/NFS/ShareLast updated
Was this helpful?