1

I've seen some conflicting comments in various places regarding whether or not it's a good idea to connect a Docker host to remote storage via NFS. Wanted to get this communities thoughts on this.

I'm early in building out my Docker homelab, but I've installed Paperless-ngx and I have a ton of PDF's that I'd like to move over to it. My Docker host is just a Raspberry Pi and I don't want to be storing all of those documents on its SD card. Not to mention data storage for other containers going forward. What's the general consensus about mounting a Synology share and pointing my data storage at it?

top 2 comments
sorted by: hot top controversial new old
[-] bgatesIT@alien.top 1 points 11 months ago

you can do that pretty easily, just mount the NFS share and tell docker to save stuff there.

If you want to go even further down the rabbit hole deploy Kubernetes to orchestrate all youre containers and handle storage for them

[-] NoCheesecake8308@alien.top 1 points 11 months ago

If its just files over NFS its more than likely fine. If its a database of some sort, it might work up until it doesn't, as I found out recently. My Uptime-Kuma DB got corrupted and I had to redo it from scratch. They also say NFS mounts are unsupported so that's what I get.

this post was submitted on 22 Nov 2023
1 points (100.0% liked)

Homelab

371 readers
2 users here now

Rules

founded 1 year ago
MODERATORS