Closed adrianocr closed 5 years ago
I'm an idiot.
The exports.txt file should reference the mount inside the container, not the one on the host. So /nfs 192.168.1.0/24(rw,all_squash,anonuid=1000,anongid=974)
would have been the correct exports.txt entry.
@ehough you may want to reference this in the readme for people who aren't so bright (like me)
Glad you sorted it out! Putting together all the puzzle pieces here can be tricky indeed. I can't possibly count the number of times I've made a similar mistake.
Thanks for the suggestion on the readme; I'll add some clarifications asap.
The following docker-compose file spins up the container with no issues:
But the container fails to run. My exports file is the following:
/MediaDownloads 192.168.1.0/24(rw,all_squash,anonuid=1000,anongid=974)
And here is the docker log:
If I
ls -l
my root directory, you'll see I definitely have aMediaDownloads
dir in there...If it matters this is Arch Linux, the
MediaDownloads
dir is a mount of an entire HDD, and the filesystem is ext4.