For anyone using FreeNAS or similar where files are shared out via NFS, connecting multiple docker containers can be a bit tricky when multiple containers need to access the same NFS volumes.
I don’t follow… i use this setup across 27 containers right now, it works fine and is our recommended method of presenting nfs storage to a docker container.
Right, but you’re using (nolock,rw). So scaling may be simple, but it can be ineffective on shared files and folders. If you trust everyone to keep separate, NP. It’s just less robust in some use cases. How does scaling work with (lock, rw)?
As well, you may have full control over all of your settings and well-behaved users/apss, so this pattern is just something else. For Mandalorians, I guess “This is the way”.
I gave you an example and said “something like this” obviously you would adjust it to fit your needs…
the whole point was, you didnt know how to pass nfs into docker properly, we told you how and provided an example. This isn’t really the proper place to be a troll.
Actually, I’m a bit offended that when I offered a different connection pattern than the volume pattern that I’m getting razzed for it. The docker volume pattern is fine if that’s what you need, but there are other safe ways to do nfs connects.