Posted August 3, 20186 yr Hi all, Im working with a fresh unraid install, and a fresh ubuntu 16.04 vm with docker and docker-compose installed. Im having permission errors in docker logs every time i try and point the configs at my unraid mount. Ive tried to google and mount my shares in about 14 different ways, but I have currently landed at the unraid NFS lines shown below. # SAMBA SHARES #//10.188.10.10/appdata /mnt/configs cifs credentials=/home/username/.smbcredentials 0 0 #//10.188.10.10/htpc /mnt/htpc cifs credentials=/home/username/.smbcredentials 0 0 #//10.188.10.10/downloads /mnt/downloads cifs credentials=/home/username/.smbcredentials 0 0 # UNRAID NFS TAG configs /mnt/configs 9p trans=virtio,version=9p2000.L,rw,_netdev 0 0 htpc /mnt/htpc 9p trans=virtio,version=9p2000.L,rw,_netdev 0 0 downloads /mnt/downloads 9p trans=virtio,version=9p2000.L,rw,_netdev 0 0 I then have a docker-compose stack installed like the following. https://github.com/duhio/docker-compose-usenet Problem being my appdata mount; that every container needs, is throwing a TON of permission errors and failing. I can mount a second disk(vimg) to the VM, or just use a local home directory and direct the configs locally with no issues. My question ends up being whats the best way to mount my NFS app data directory in order to get the correct permissions for my containers. Here are the permissions from local working config. Username is local box user with docker privileges . (scrubbed for forums) username@lm-dockerhost-01:~/htpc/configs$ ls -la total 56 drwxr-xr-x 14 root root 4096 Aug 3 11:10 . drwxrwxr-x 4 username username 4096 Aug 3 12:57 .. drwxrwxr-x 2 99 users 4096 Aug 3 13:26 flexget drwxr-xr-x 7 username username 4096 Aug 3 11:10 heimdall drwxr-xr-x 4 username username 4096 Aug 3 11:11 lazylibrarian drwxr-xr-x 3 username username 4096 Aug 3 14:01 lidarr drwxr-xr-x 4 username username 4096 Aug 3 14:06 nzbhydra2 drwxr-xr-x 3 username username 4096 Aug 3 14:07 ombi drwxr-xr-x 3 username username 4096 Aug 3 11:10 plex drwxr-xr-x 6 username username 4096 Aug 3 13:26 plexpy drwxr-xr-x 3 username username 4096 Aug 3 13:59 radarr drwxr-xr-x 5 username username 4096 Aug 3 11:10 sabnzbd drwxr-xr-x 3 username username 4096 Aug 3 13:27 sonarr drwxr-xr-x 3 root root 4096 Aug 3 13:01 traefik Permissions from unraid share thats causing read/write errors in containers. username@lm-dockerhost-01:/mnt/configs$ ls -la total 4 drwxrwxrwx 1 99 users 190 Aug 3 10:57 . drwxrwxrwx 5 root root 4096 Aug 2 23:32 .. drwxr-xr-x 1 root root 0 Aug 3 10:57 flexget drwxr-xr-x 1 root root 36 Aug 3 10:57 heimdall drwxr-xr-x 1 root root 26 Aug 3 10:57 lazylibrarian drwxr-xr-x 1 root root 0 Aug 3 10:57 lidarr drwxr-xr-x 1 root root 8 Aug 3 10:57 nzbhydra2 drwxr-xr-x 1 root root 0 Aug 3 10:57 ombi drwxr-xr-x 1 root root 336 Aug 2 22:36 openVPN drwxr-xr-x 1 root root 14 Aug 3 10:57 plex drwxr-xr-x 1 root root 0 Aug 3 10:57 plexpy drwxr-xr-x 1 root root 0 Aug 3 10:57 radarr drwxr-xr-x 1 root root 0 Aug 3 10:57 sabnzbd drwxr-xr-x 1 root root 0 Aug 3 10:57 sonarr drwxr-xr-x 1 root root 60 Aug 3 10:56 traefik drwxrwxrwx 1 99 users 110 Aug 2 22:13 unifi Thanks much!
Archived
This topic is now archived and is closed to further replies.