Rancher/Docker NFS

Status
Not open for further replies.

Kennyvb8

Contributor
Joined
Mar 18, 2017
Messages
112
Can anyone explain how to use NFS mount in docker ? Trying to make a Plex docker pi-hole and plexrequest
And could use NFS mount for data and persistent storage
I saw the guide to SMB. But really want to use NFS. Also
How to share a fuse mount or fuse mount in docker?! Have a Plexdrive that mount via fuse sorta runs in screen. Stabel but have to manually mount if something reboots
Also need to figure out how to
Set up manually for my network

Sent from my iPhone using Tapatalk
 
D

dlavigne

Guest
If you or anyone else does, please add it here so it can be incorporated into the Guide.
 

KrisBee

Wizard
Joined
Mar 20, 2017
Messages
1,288
There is information about this scattered among various threads/post on the forum, and I've even attempted to answer a few question myself. It's a subject that has been tackled in a couple of resources too:

https://forums.freenas.org/index.php?resources/freenas-11-rancheros-docker-and-portainer.52/
https://forums.freenas.org/index.php?resources/how-to-rancheros-on-freenas-11-0.50/

But answers to the question
Can anyone explain how to use NFS mount in docker ?

needs to consider how docker is being used, for example:

1. In a VM using the preferred linux distro of the user where docker has been installed.
2. In a VM using rancheros as the base, but without a "rancher server"
3. As 1, but with docker + "rancher server"
4. As 2, but with "rancher server" installed.

So you could, for example be using a NFS mount in the VM using /etc/fstab, or a docker compose config, or as part of a cloud config or via rancher's nfs driver configured via the RancherUI.
 
Status
Not open for further replies.
Top