Using NFS mount with docker containers
When I first setup my NUC, I wanted to setup docker on it so that all the information is stored on the NFS mount I setup on my Synology mount. Meaning volumes and anything of that kind. One issue...
When I first setup my NUC, I wanted to setup docker on it so that all the information is stored on the NFS mount I setup on my Synology mount. Meaning volumes and anything of that kind.
One issue that came up however, was that if my router experience a temporary glitch, the docker containers would then also experience an issue since they were trying to access information stored on the mounts and my system would freeze and I had to force a shutdown to get the mount to work correctly.
Which makes me wonder, what is the recommended way to have docker containers store their information on an NFS mount while also allowing taking into account that sometimes a networking issue or router issue might happen?
6
votes