Hi all, ive been working on this problem for about 24 hours and i dont seem to be getting any further ahead. Ive googled, searched stack overflow, reddit. The solutions i thought would work havent, Essentially i keep getting this error response:
docker compose up -d
[+] Running 0/1
⠙ Container jellyfin Creating 0.1s
Error response from daemon: failed to mount local volume: mount :/mnt/storage/container-data/jellyfin:/var/lib/docker/volumes/jellyfin_jellyfin_media/_data, data: addr=192.168.14.41,nfsvers=4: permission denied
Im trying to create a local volume to test out a jellyfin container. The volume is a NFS mount. I have edited the export file as such:
GNU nano 5.4 /etc/exports *
/etc/exports: the access control list for filesystems which may be exported
to NFS clients. See exports(5).
/mnt/storage/container-data/jellyfin 192.168.14.41(rw,sync,no_subtree_check,fsid=1,all_squash,anonuid=0,anongid=0)
The ip is where the nfs mount exists on my host machine. Ive pinged it from the Docker LXC being hosted in PROXMOX and it sees it successfully.
My docker-compose file is:
services:
jellyfin:
container_name: jellyfin
image: jellyfin/jellyfin
restart: unless-stopped
ports:
- 80:8096
user: root
volumes:
- ./container-data/config:/config
- ./cache:/cache
- jellyfin_media:/media
volumes:
jellyfin_media:
driver_opts:
type: “nfs”
o: “addr=192.168.14.41,nfsvers=4”
device: “192.168.14.41:/mnt/storage/container-data/jellyfin”
All the folders within the directory have read/write permissions and im running both from root (for the time being) Ive tried looking at UIDs, GIDs, and if i keep getting this permission error im gonna use a WMD on my computer and become a Luddite. I admit that this is my beginning journey into docker so i understand there will be bumps, but this is frustrating to say the least. If theres anyone out there who can help, id be completely in your debt. Ive also tried submitting the problem into CGPT and trying its suggestions, no dice. Im usually not bad a solving these problems, but this one has me stumped.