Mounting NFS Shares as Docker Volumes - Codeopolis

PHOTO EMBED

Wed Mar 02 2022 07:59:27 GMT+0000 (UTC)

Saved by @cryptolinx #undefined

docker volume create --name VOLUME_NAME --driver local \

--opt type=nfs \

--opt o=addr=HOST_ADDRESS,rw,noatime,rsize=8192,wsize=8192,tcp,timeo=14 \
4
--opt device=:YOUR/NFS/PATH
content_copyCOPY

https://codeopolis.com/posts/mounting-nfs-shares-as-docker-volumes/