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?

  • bgatesIT@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 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.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 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.