Using NFS mount with docker containers

b3_k1nd_rw1nd
2025-10-20T04:54:54Z

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?

Comments URL: https://tildes.net/~comp/1qt1/using_nfs_mount_with_docker_containers

Votes: 6

Comments: 2